Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/tl/2_types.ts>Document_

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class Document_
extends _Document_
import { Document_ } from "https://deno.land/x/mtkruto@0.1.130/tl/2_types.ts";

Constructors

new
Document_(params: { id: bigint; access_hash: bigint; file_reference: Uint8Array; date: number; mime_type: string; size: bigint; thumbs?: Array<enums.PhotoSize>; video_thumbs?: Array<enums.VideoSize>; dc_id: number; attributes: Array<enums.DocumentAttribute>; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
access_hash: bigint
attributes: Array<enums.DocumentAttribute>
date: number
dc_id: number
file_reference: Uint8Array
id: bigint
mime_type: string
size: bigint
optional
thumbs: Array<enums.PhotoSize>
optional
video_thumbs: Array<enums.VideoSize>

Static Properties

readonly
[name]
readonly
[paramDesc]: ParamDesc