peyk.platforms.telegram.types.rich_block_details

Classes

RichBlockDetails([title, text])

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

class peyk.platforms.telegram.types.rich_block_details.RichBlockDetails(title: str = '', text: str = '')[source]

Bases: object

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

Variables:
  • type – Type of the block, always ‘details’

  • summary – Always shown summary of the block

  • blocks – Content of the block

  • is_open – True, if the content of the block is visible by default

title: str = ''
text: str = ''
classmethod from_dict(data)[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.