Airgram

Guides
/
/
Output types

AutoDownloadSettings

Contains auto-download settings.

This is an alias for the AutoDownloadSettingsUnion type.


NameTypeDescription
_"autoDownloadSettings"
isAutoDownloadEnabledboolean True, if the auto-download is enabled
maxPhotoFileSizenumber The maximum size of a photo file to be auto-downloaded, in bytes
maxVideoFileSizenumber The maximum size of a video file to be auto-downloaded, in bytes
maxOtherFileSizenumber The maximum size of other file types to be auto-downloaded, in bytes
videoUploadBitratenumber The maximum suggested bitrate for uploaded videos, in kbit/s
preloadLargeVideosboolean True, if the beginning of video files needs to be preloaded for instant playback
preloadNextAudioboolean True, if the next audio track needs to be preloaded while the user is listening to an audio file
useLessDataForCallsboolean True, if "use less data for calls" option needs to be enabled