RichTextPhoneNumber¶
- class aiogram.types.rich_text_phone_number.RichTextPhoneNumber(*, type: Literal[RichTextType.PHONE_NUMBER] = RichTextType.PHONE_NUMBER, text: RichTextUnion, phone_number: str, **extra_data: Any)[source]¶
A text with a phone number.
Source: https://core.telegram.org/bots/api#richtextphonenumber
- type: Literal[RichTextType.PHONE_NUMBER]¶
Type of the rich text, always ‘phone_number’
- text: RichTextUnion¶
The text
- phone_number: str¶
The phone number