autoDownloadSettings

Autodownload settings

autoDownloadSettings#e04232f3 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true photo_size_max:int video_size_max:int file_size_max:int video_upload_maxbitrate:int = AutoDownloadSettings;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
disabled flags.0?true Disable automatic media downloads?
video_preload_large flags.1?true Whether to preload the first seconds of videos larger than the specified limit
audio_preload_next flags.2?true Whether to preload the next audio track when you're listening to music
phonecalls_less_data flags.3?true Whether to enable data saving mode in phone calls
photo_size_max int Maximum size of photos to preload
video_size_max int Maximum size of videos to preload
file_size_max int Maximum size of other files to preload
video_upload_maxbitrate int Maximum suggested bitrate for uploading videos

Type

AutoDownloadSettings