RichBlockDocument¶
- class pyrogram.types.RichBlockDocument[source]¶
A block with a general file, corresponding to the custom HTML tag
<tg-document>.- Parameters:
document (
Document) – The document.caption (
RichBlockCaption, optional) – Caption of the block.