AutoDownloadSettings
Contains auto-download settings.
This is an alias for the AutoDownloadSettingsUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "autoDownloadSettings" | |
isAutoDownloadEnabled | boolean | True, if the auto-download is enabled |
maxPhotoFileSize | number | The maximum size of a photo file to be auto-downloaded, in bytes |
maxVideoFileSize | number | The maximum size of a video file to be auto-downloaded, in bytes |
maxOtherFileSize | number | The maximum size of other file types to be auto-downloaded, in bytes |
videoUploadBitrate | number | The maximum suggested bitrate for uploaded videos, in kbit/s |
preloadLargeVideos | boolean | True, if the beginning of video files needs to be preloaded for instant playback |
preloadNextAudio | boolean | True, if the next audio track needs to be preloaded while the user is listening to an audio file |
useLessDataForCalls | boolean | True, if "use less data for calls" option needs to be enabled |