peyk.platforms.telegram.types.rich_text_italic

Classes

RichTextItalic([text, type])

An italicized text.

class peyk.platforms.telegram.types.rich_text_italic.RichTextItalic(text: str = '', type: str = 'italic')[source]

Bases: object

An italicized text.

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

  • text (str) – The text

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

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.