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

x/mtkruto/mod.ts>Api.document

Cross-runtime JavaScript library for building Telegram clients
Latest
interface Api.document
import { type Api } from "https://deno.land/x/mtkruto@0.6.3/mod.ts";
const { document } = Api;

Properties

_: "document"
id: bigint
access_hash: bigint
file_reference: Uint8Array
date: number
mime_type: string
size: bigint
optional
thumbs: Array<PhotoSize>
optional
video_thumbs: Array<VideoSize>
dc_id: number
attributes: Array<DocumentAttribute>