peyk.platforms.telegram.types.rich_text_strikethrough

Classes

RichTextStrikethrough([text, type])

A strikethrough text.

class peyk.platforms.telegram.types.rich_text_strikethrough.RichTextStrikethrough(text: str = '', type: str = 'strikethrough')[source]

Bases: object

A strikethrough text.

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

  • text (str) – The text

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

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.