class tl.Api.Document
extends VirtualClass<{ id: long; accessHash: long; fileReference: bytes; date: int; mimeType: string; size: long; thumbs?: Api.TypePhotoSize[]; videoThumbs?: Api.TypeVideoSize[]; dcId: int; attributes: Api.TypeDocumentAttribute[]; }>
import { tl } from "https://deno.land/x/grm@0.5.2/mod.ts";
const { Document } = tl.Api;
Properties
attributes: Api.TypeDocumentAttribute[]
optional
thumbs: Api.TypePhotoSize[]optional
videoThumbs: Api.TypeVideoSize[]Static Methods
fromReader(reader: Reader): Document