RichTextReference¶
- class aiogram.types.rich_text_reference.RichTextReference(*, type: Literal[RichTextType.REFERENCE] = RichTextType.REFERENCE, text: RichTextUnion, name: str, **extra_data: Any)[source]¶
A reference.
Source: https://core.telegram.org/bots/api#richtextreference
- type: Literal[RichTextType.REFERENCE]¶
Type of the rich text, always ‘reference’
- text: RichTextUnion¶
Text of the reference
- name: str¶
The name of the reference