InputRichBlockDocument¶
- class aiogram.types.input_rich_block_document.InputRichBlockDocument(*, type: Literal[InputRichBlockType.DOCUMENT] = InputRichBlockType.DOCUMENT, document: InputMediaDocument, 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#inputrichblockdocument
- type: Literal[InputRichBlockType.DOCUMENT]¶
Type of the block, always „document“
- document: InputMediaDocument¶
The document. Caption is ignored
- caption: RichBlockCaption | None¶
Optional. Caption of the block