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

x/mtkruto/mod.ts>Document

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

A document.

Properties

fileId: string

A file identifier that can be used to download or reuse this file.

fileUniqueId: string

A file identifier that can be used to identify this file.

thumbnails: Thumbnail[]

Thumbnails of the document.

fileName: string

The original file name.

mimeType: string

MIME type of the file.

fileSize: number

Size of the file in bytes.