RichTextReferenceLink¶
- class aiogram.types.rich_text_reference_link.RichTextReferenceLink(*, type: Literal[RichTextType.REFERENCE_LINK] = RichTextType.REFERENCE_LINK, text: RichTextUnion, reference_name: str, **extra_data: Any)[source]¶
A link to a reference.
Source: https://core.telegram.org/bots/api#richtextreferencelink
- type: Literal[RichTextType.REFERENCE_LINK]¶
Type of the rich text, always ‘reference_link’
- text: RichTextUnion¶
The link text
- reference_name: str¶
The name of the reference