TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
scopeAutosaveSettings () | |
scopeAutosaveSettings (bool autosave_photos_, bool autosave_videos_, int53 max_video_file_size_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Public Attributes | |
bool | autosave_photos_ |
True, if photo autosave is enabled. | |
bool | autosave_videos_ |
True, if video autosave is enabled. | |
int53 | max_video_file_size_ |
The maximum size of a video file to be autosaved, in bytes; 512 KB - 4000 MB. | |
Static Public Attributes | |
static const std::int32_t | ID = 1546821427 |
Identifier uniquely determining a type of the object. | |
Contains autosave settings for an autosave settings scope.
td::td_api::scopeAutosaveSettings::scopeAutosaveSettings | ( | ) |
Contains autosave settings for an autosave settings scope.
td::td_api::scopeAutosaveSettings::scopeAutosaveSettings | ( | bool | autosave_photos_, |
bool | autosave_videos_, | ||
int53 | max_video_file_size_ | ||
) |
Contains autosave settings for an autosave settings scope.
[in] | autosave_photos_ | True, if photo autosave is enabled. |
[in] | autosave_videos_ | True, if video autosave is enabled. |
[in] | max_video_file_size_ | The maximum size of a video file to be autosaved, in bytes; 512 KB - 4000 MB. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.