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_WebFile_

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

Represents a chunk of an HTTP webfile downloaded through telegram's secure MTProto servers

Constructors

new
upload_WebFile_(params: { size: number; mime_type: string; file_type: enums.storage.FileType; mtime: number; bytes: Uint8Array; })

Properties

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

Data

file_type: enums.storage.FileType

File type

mime_type: string

Mime type

mtime: number

Modified time

size: number

File size

Static Properties

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