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 _TypeDocument
import { Document } from "https://deno.land/x/mtkruto@0.0.998/tl/2_types.ts";

Constructors

new
Document(params: { id: bigint; accessHash: bigint; fileReference: Uint8Array; date: number; mimeType: string; size: bigint; thumbs?: Array<TypePhotoSize>; videoThumbs?: Array<TypeVideoSize>; dcId: number; attributes: Array<TypeDocumentAttribute>; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
accessHash: bigint
attributes: Array<TypeDocumentAttribute>
date: number
dcId: number
fileReference: Uint8Array
id: bigint
mimeType: string
size: bigint
optional
thumbs: Array<TypePhotoSize>
optional
videoThumbs: Array<TypeVideoSize>

Static Properties

readonly
[paramDesc]: ParamDesc