View Source ExTDLib.Object.AutoDownloadSettings (ExTDLib v0.0.4)

Contains auto-download settings.

NameTypeDescription
is_auto_download_enabledboolTrue, if the auto-download is enabled.
max_photo_file_sizenumberThe maximum size of a photo file to be auto-downloaded, in bytes.
max_video_file_sizestringThe maximum size of a video file to be auto-downloaded, in bytes.
max_other_file_sizestringThe maximum size of other file types to be auto-downloaded, in bytes.
video_upload_bitratenumberThe maximum suggested bitrate for uploaded videos, in kbit/s.
preload_large_videosboolTrue, if the beginning of video files needs to be preloaded for instant playback.
preload_next_audioboolTrue, if the next audio track needs to be preloaded while the user is listening to an audio file.
preload_storiesboolTrue, if stories needs to be preloaded.
use_less_data_for_callsboolTrue, if "use less data for calls" option needs to be enabled.

More details on telegram's documentation.