Guide
Advanced
Introduction
Built-in
Official
Third-party
Examples
grammY
Telegram
Tools
Overview
Tutorials
Appearance
A block with a general file, corresponding to the custom HTML tag <tg-document>.
Source
type: "document";
Type of the block, always “document”
document: Document;
The document
caption?: RichBlockCaption;
Caption of the block