InputRichMessage¶
- class ftmgram.types.InputRichMessage(html: str | None = None, markdown: str | None = None, blocks: List[InputRichBlock] | None = None, media: List[InputRichMessageMedia] | None = None, is_rtl: bool | None = None, skip_entity_detection: bool | None = None)¶
Describes a rich message to send (Bot API 10.1 - 10.3).
- Parameters:
html (
str, optional) – Content of the rich message to send described using HTML formatting. See rich message formatting options for more details.markdown (
str, optional) – Content of the rich message to send described using Markdown formatting. See rich message formatting options for more details.blocks (List of
InputRichBlock, optional) – List of rich blocks to format the message (Bot API 10.2).media (List of
InputRichMessageMedia, optional) – List of media objects used in the rich message (Bot API 10.2).is_rtl (
bool, optional) – Pass True if the rich message must be shown right-to-left.skip_entity_detection (
bool, optional) – Pass True to skip automatic detection of entities (e.g., URLs, email addresses, username mentions, hashtags, cashtags, bot commands, or phone numbers) in the text.