Inherits Object.
Contains auto-download settings.
Public Fields | |
| bool | is_auto_download_enabled_ |
| True, if the auto-download is enabled. | |
| int32 | max_photo_file_size_ |
| The maximum size of a photo file to be auto-downloaded, in bytes. | |
| int53 | max_video_file_size_ |
| The maximum size of a video file to be auto-downloaded, in bytes. | |
| int53 | max_other_file_size_ |
| The maximum size of other file types to be auto-downloaded, in bytes. | |
| int32 | video_upload_bitrate_ |
| The maximum suggested bitrate for uploaded videos, in kbit/s. | |
| bool | preload_large_videos_ |
| True, if the beginning of video files needs to be preloaded for instant playback. | |
| bool | preload_next_audio_ |
| True, if the next audio track needs to be preloaded while the user is listening to an audio file. | |
| bool | preload_stories_ |
| True, if stories needs to be preloaded. | |
| bool | use_less_data_for_calls_ |
| True, if "use less data for calls" option needs to be enabled. | |
Public Instance Methods | |
| autoDownloadSettings () | |
| autoDownloadSettings (bool is_auto_download_enabled_, int32 max_photo_file_size_, int53 max_video_file_size_, int53 max_other_file_size_, int32 video_upload_bitrate_, bool preload_large_videos_, bool preload_next_audio_, bool preload_stories_, bool use_less_data_for_calls_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from 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 |
Static Public Attributes | |
| static const std::int32_t | ID = 991433696 |
| Identifier uniquely determining a type of the object. | |
Contains auto-download settings.
| autoDownloadSettings | ( | bool | is_auto_download_enabled_, |
| int32 | max_photo_file_size_, | ||
| int53 | max_video_file_size_, | ||
| int53 | max_other_file_size_, | ||
| int32 | video_upload_bitrate_, | ||
| bool | preload_large_videos_, | ||
| bool | preload_next_audio_, | ||
| bool | preload_stories_, | ||
| bool | use_less_data_for_calls_ | ||
| ) |
Contains auto-download settings.
| [in] | is_auto_download_enabled_ | True, if the auto-download is enabled. |
| [in] | max_photo_file_size_ | The maximum size of a photo file to be auto-downloaded, in bytes. |
| [in] | max_video_file_size_ | The maximum size of a video file to be auto-downloaded, in bytes. |
| [in] | max_other_file_size_ | The maximum size of other file types to be auto-downloaded, in bytes. |
| [in] | video_upload_bitrate_ | The maximum suggested bitrate for uploaded videos, in kbit/s. |
| [in] | preload_large_videos_ | True, if the beginning of video files needs to be preloaded for instant playback. |
| [in] | preload_next_audio_ | True, if the next audio track needs to be preloaded while the user is listening to an audio file. |
| [in] | preload_stories_ | True, if stories needs to be preloaded. |
| [in] | use_less_data_for_calls_ | True, if "use less data for calls" option needs to be enabled. |
|
finalvirtual |