peyk.platforms.telegram.types.rich_text_superscript

Classes

RichTextSuperscript([text, type])

A superscript text.

class peyk.platforms.telegram.types.rich_text_superscript.RichTextSuperscript(text: str = '', type: str = 'superscript')[source]

Bases: object

A superscript text.

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

  • text (str) – The text

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

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.