class AutoDownloadSettings_
extends _AutoDownloadSettings_
import { AutoDownloadSettings_ } from "https://deno.land/x/mtkruto@0.1.157/tl/2_types.ts";
Autodownload settings
Constructors
new
AutoDownloadSettings_(params: { disabled?: true; video_preload_large?: true; audio_preload_next?: true; phonecalls_less_data?: true; stories_preload?: true; photo_size_max: number; video_size_max: bigint; file_size_max: bigint; video_upload_maxbitrate: number; small_queue_active_operations_max: number; large_queue_active_operations_max: number; })Properties
protected
readonly
[params]: ParamsWhether to preload the next audio track when you're listening to music
A limit, specifying the maximum number of files that should be downloaded in parallel from the same DC, for files bigger than 20MB.
A limit, specifying the maximum number of files that should be downloaded in parallel from the same DC, for files smaller than 20MB.
Whether to preload stories; in particular, the first documentAttributeVideo.preload_prefix_size
bytes of story videos should be preloaded.
Whether to preload the first seconds of videos larger than the specified limit
Static Properties
readonly
[paramDesc]: ParamDesc