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

x/mtkruto/3_types.ts>Document

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface Document
Re-export
import { type Document } from "https://deno.land/x/mtkruto@0.1.141/3_types.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.