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_getCdnFileHashes_

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

Get SHA256 hashes for verifying downloaded CDN files

Constructors

new
upload_getCdnFileHashes_(params: { file_token: Uint8Array; offset: bigint; })

Properties

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

File

offset: bigint

Offset from which to start getting hashes

Static Properties

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