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

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

An attempt to write a Deno-native MTProto client
Go to Latest
class Document
extends TypeDocument
import { Document } from "https://deno.land/x/mtkruto@0.0.62/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