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

x/grm/mod.ts>tl.Api.Document

MTProto API Client for Deno 🦕
Go to Latest
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

accessHash: long
className: "Document"
classType: "constructor"
CONSTRUCTOR_ID: 2413085912
date: int
dcId: int
fileReference: bytes
id: long
mimeType: string
size: long
SUBCLASS_OF_ID: 555739168
optional
thumbs: Api.TypePhotoSize[]
optional
videoThumbs: Api.TypeVideoSize[]