peyk.platforms.telegram.types.rich_text_url

Classes

RichTextUrl([text, url, type])

A text with a link.

class peyk.platforms.telegram.types.rich_text_url.RichTextUrl(text: str = '', url: str = '', type: str = 'url')[source]

Bases: object

A text with a link.

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

  • text (str) – The text

  • url (str) – URL of the link

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

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.