InputRichBlockDocument¶
- class pyrogram.types.InputRichBlockDocument[source]¶
A block with a general file, corresponding to the custom HTML tag
<tg-document>.- Parameters:
document_id (
int, optional) – Theidfield from anInputDocumentthat represents the file.document (
str|InputMediaDocument, optional) – The document to send, as a file identifier of an already uploaded file, a local path, an HTTP URL or anInputMediaDocumentobject. Given instead of document_id.caption (
str|RichText, optional) – Caption of the block.