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

x/mtkruto/tl/2_types.ts>upload_FileCdnRedirect_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class upload_FileCdnRedirect_
extends _upload_File_
import { upload_FileCdnRedirect_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

The file must be downloaded from a CDN DC.

Constructors

new
upload_FileCdnRedirect_(params: { dc_id: number; file_token: Uint8Array; encryption_key: Uint8Array; encryption_iv: Uint8Array; file_hashes: Array<enums.FileHash>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
dc_id: number

CDN DC ID

encryption_iv: Uint8Array

Encryption IV (see CDN files)

encryption_key: Uint8Array

Encryption key (see CDN files)

file_hashes: Array<enums.FileHash>

File hashes (see CDN files)

file_token: Uint8Array

File token (see CDN files)

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc