class 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 { Api } from "https://deno.land/x/grm@0.8.2/tl/api.d.ts";
const { Document } = Api;
Properties
attributes: Api.TypeDocumentAttribute[]
optional
thumbs: Api.TypePhotoSize[]optional
videoThumbs: Api.TypeVideoSize[]Static Methods
fromReader(reader: Reader): Document