peyk.platforms.telegram.types.rich_text_bold

Classes

RichTextBold([text, type])

A bold text.

class peyk.platforms.telegram.types.rich_text_bold.RichTextBold(text: str = '', type: str = 'bold')[source]

Bases: object

A bold text.

Variables:
  • type (str) – Type of the rich text, always ‘bold’

  • text (str) – The text

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

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.