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>InputFile_

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

Defines a file saved in parts using the method upload.saveFilePart.

Constructors

new
InputFile_(params: { id: bigint; parts: number; name: string; md5_checksum: string; })

Properties

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

Random file identifier created by the client

md5_checksum: string

In case the file's md5-hash was passed, contents of the file will be checked prior to use

name: string

Full name of the file

parts: number

Number of parts saved

Static Properties

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