#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = 991433696 |
| | Identifier uniquely determining a type of the object.
|
| |
Contains auto-download settings.
Definition at line 2985 of file td_api.h.
◆ autoDownloadSettings() [1/2]
| td::td_api::autoDownloadSettings::autoDownloadSettings |
( |
| ) |
|
Contains auto-download settings.
◆ autoDownloadSettings() [2/2]
| td::td_api::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_ |
|
) |
| |
Contains auto-download settings.
- Parameters
-
| [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. |
◆ store()
| void td::td_api::autoDownloadSettings::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ ID
| const std::int32_t td::td_api::autoDownloadSettings::ID = 991433696 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 3035 of file td_api.h.
◆ is_auto_download_enabled_
| bool td::td_api::autoDownloadSettings::is_auto_download_enabled_ |
True, if the auto-download is enabled.
Definition at line 2996 of file td_api.h.
◆ max_other_file_size_
| int53 td::td_api::autoDownloadSettings::max_other_file_size_ |
The maximum size of other file types to be auto-downloaded, in bytes.
Definition at line 3002 of file td_api.h.
◆ max_photo_file_size_
| int32 td::td_api::autoDownloadSettings::max_photo_file_size_ |
The maximum size of a photo file to be auto-downloaded, in bytes.
Definition at line 2998 of file td_api.h.
◆ max_video_file_size_
| int53 td::td_api::autoDownloadSettings::max_video_file_size_ |
The maximum size of a video file to be auto-downloaded, in bytes.
Definition at line 3000 of file td_api.h.
◆ preload_large_videos_
| bool td::td_api::autoDownloadSettings::preload_large_videos_ |
True, if the beginning of video files needs to be preloaded for instant playback.
Definition at line 3006 of file td_api.h.
◆ preload_next_audio_
| bool td::td_api::autoDownloadSettings::preload_next_audio_ |
True, if the next audio track needs to be preloaded while the user is listening to an audio file.
Definition at line 3008 of file td_api.h.
◆ preload_stories_
| bool td::td_api::autoDownloadSettings::preload_stories_ |
True, if stories needs to be preloaded.
Definition at line 3010 of file td_api.h.
◆ use_less_data_for_calls_
| bool td::td_api::autoDownloadSettings::use_less_data_for_calls_ |
True, if "use less data for calls" option needs to be enabled.
Definition at line 3012 of file td_api.h.
◆ video_upload_bitrate_
| int32 td::td_api::autoDownloadSettings::video_upload_bitrate_ |
The maximum suggested bitrate for uploaded videos, in kbit/s.
Definition at line 3004 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h