peyk.platforms.telegram.types.rich_text_subscript

Classes

RichTextSubscript([text, type])

A subscript text.

class peyk.platforms.telegram.types.rich_text_subscript.RichTextSubscript(text: str = '', type: str = 'subscript')[source]

Bases: object

A subscript text.

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

  • text (str) – The text

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

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.