peyk.platforms.telegram.types.rich_block_paragraph

Classes

RichBlockParagraph([text])

A text paragraph, corresponding to the HTML tag .

class peyk.platforms.telegram.types.rich_block_paragraph.RichBlockParagraph(text: str = '')[source]

Bases: object

A text paragraph, corresponding to the HTML tag .

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

  • text (str) – Text of the block

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

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.