RichBlockDocument¶
- class aiogram.types.rich_block_document.RichBlockDocument(*, type: Literal[RichBlockType.DOCUMENT] = RichBlockType.DOCUMENT, document: Document, caption: RichBlockCaption | None = None, **extra_data: Any)[source]¶
A block with a general file, corresponding to the custom HTML tag
<tg-document>.Source: https://core.telegram.org/bots/api#richblockdocument
- type: Literal[RichBlockType.DOCUMENT]¶
Type of the block, always „document“
- caption: RichBlockCaption | None¶
Optional. Caption of the block