RichBlockDetails

class pyrogram.types.RichBlockDetails[source]

An expandable block for details disclosure, corresponding to the HTML tag <details>.

Parameters:
  • summary (RichText) – Always shown summary of the block.

  • blocks (List of RichBlock) – Content of the block.

  • is_open (bool, optional) – True, if the content of the block is visible by default.