InputRichBlock

class pyrogram.types.InputRichBlock[source]

Base class for all input rich message blocks.

Subclasses define specific block types that can be used to compose the content of a rich message. Each subclass implements a write() method that produces the corresponding raw Telegram type.