Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>upload_getCdnFile_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class upload_getCdnFile_
extends Function_<enums.upload.CdnFile>
import { upload_getCdnFile_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Download a CDN file.

Constructors

new
upload_getCdnFile_(params: { file_token: Uint8Array; offset: bigint; limit: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
file_token: Uint8Array

File token

limit: number

Length of chunk to download

offset: bigint

Offset of chunk to download

Static Properties

__F: (params: { file_token: Uint8Array; offset: bigint; limit: number; }) => enums.upload.CdnFile
readonly
[name]: string
readonly
[paramDesc]: ParamDesc