Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>types.AutoDownloadSettings

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.AutoDownloadSettings
import { types } from "https://deno.land/x/mtkruto@0.0.997/mod.ts";
const { AutoDownloadSettings } = types;

Constructors

new
AutoDownloadSettings(params: { disabled?: true; videoPreloadLarge?: true; audioPreloadNext?: true; phonecallsLessData?: true; storiesPreload?: true; photoSizeMax: number; videoSizeMax: bigint; fileSizeMax: bigint; videoUploadMaxbitrate: number; smallQueueActiveOperationsMax: number; largeQueueActiveOperationsMax: number; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
audioPreloadNext: true
optional
disabled: true
fileSizeMax: bigint
largeQueueActiveOperationsMax: number
optional
phonecallsLessData: true
photoSizeMax: number
smallQueueActiveOperationsMax: number
optional
storiesPreload: true
optional
videoPreloadLarge: true
videoSizeMax: bigint
videoUploadMaxbitrate: number

Static Properties

readonly
[paramDesc]: ParamDesc