peyk.platforms.telegram.types.rich_text_reference

Classes

RichTextReference([text, type])

A reference.

class peyk.platforms.telegram.types.rich_text_reference.RichTextReference(text: str = '', type: str = 'reference')[source]

Bases: object

A reference.

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

  • text (str) – Text of the reference

  • name – The name of the reference

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

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.