InputRichBlockDocument

class pyrogram.types.InputRichBlockDocument[source]

A block with a general file, corresponding to the custom HTML tag <tg-document>.

Parameters:
  • document_id (int) – The id field from an InputDocument that represents the file.

  • caption (str | RichText, optional) – Caption of the block.