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_saveFilePart_

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

Saves a part of file for further sending to one of the methods.

Constructors

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

Properties

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

Binary data, content of a part

file_id: bigint

Random file identifier created by the client

file_part: number

Numerical order of a part

Static Properties

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