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.5.1/src/tl/mod.ts";
const { Document } = Api;
Static Methods
fromReader(reader: Reader): Document