InputRichMessage¶
- class aiogram.types.input_rich_message.InputRichMessage(*, html: str | None = None, markdown: str | None = None, is_rtl: bool | None = None, skip_entity_detection: bool | None = None, **extra_data: Any)[source]¶
Describes a rich message to be sent. Exactly one of the fields html or markdown must be used.
Source: https://core.telegram.org/bots/api#inputrichmessage
- html: str | None¶
Optional. Content of the rich message to send described using HTML formatting. See rich message formatting options for more details
- markdown: str | None¶
Optional. Content of the rich message to send described using Markdown formatting. See rich message formatting options for more details
- is_rtl: bool | None¶
Optional. Pass
Trueif the rich message must be shown right-to-left
- skip_entity_detection: bool | None¶
Optional. Pass
Trueto skip automatic detection of entities (e.g., URLs, email addresses, username mentions, hashtags, cashtags, bot commands, or phone numbers) in the text