View Source ExTDLib.Object.AutoDownloadSettings (ExTDLib v0.0.4)
Contains auto-download settings.
| Name | Type | Description |
|---|---|---|
| is_auto_download_enabled | bool | True, if the auto-download is enabled. |
| max_photo_file_size | number | The maximum size of a photo file to be auto-downloaded, in bytes. |
| max_video_file_size | string | The maximum size of a video file to be auto-downloaded, in bytes. |
| max_other_file_size | string | The maximum size of other file types to be auto-downloaded, in bytes. |
| video_upload_bitrate | number | The maximum suggested bitrate for uploaded videos, in kbit/s. |
| preload_large_videos | bool | True, if the beginning of video files needs to be preloaded for instant playback. |
| preload_next_audio | bool | True, if the next audio track needs to be preloaded while the user is listening to an audio file. |
| preload_stories | bool | True, if stories needs to be preloaded. |
| use_less_data_for_calls | bool | True, if "use less data for calls" option needs to be enabled. |
More details on telegram's documentation.