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_saveBigFilePart_

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

Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.

Constructors

new
upload_saveBigFilePart_(params: { file_id: bigint; file_part: number; file_total_parts: number; bytes: Uint8Array; })

Properties

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

Binary data, part contents

file_id: bigint

Random file id, created by the client

file_part: number

Part sequence number

file_total_parts: number

Total number of parts

Static Properties

__F: (params: { file_id: bigint; file_part: number; file_total_parts: number; bytes: Uint8Array; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc