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

x/mtkruto/types/1_document.ts>Document

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface Document
import { type Document } from "https://deno.land/x/mtkruto@0.1.139/types/1_document.ts";

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.