peyk.platforms.telegram.types.rich_text_underline

Classes

RichTextUnderline([text, type])

An underlined text.

class peyk.platforms.telegram.types.rich_text_underline.RichTextUnderline(text: str = '', type: str = 'underline')[source]

Bases: object

An underlined text.

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

  • text (str) – The text

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

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.