Skip to main content
Module

x/mtkruto/mod.ts>types.Document

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.Document
extends TypeDocument
import { types } from "https://deno.land/x/mtkruto@0.0.989/mod.ts";
const { Document } = types;

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