# InputRichMessage

Source: https://core.telegram.org/bots/api#inputrichmessage

[Documentation index](../llms.txt)

Describes a rich message to be sent. Exactly **one** of the fields *html*, *markdown*, or *blocks* must be used.

| Field | Type | Description |
| --- | --- | --- |
| blocks | Array of [InputRichBlock](inputrichblock.md) | *Optional*. Content of the rich message to send described as a list of blocks |
| html | String | *Optional*. Content of the rich message to send described using HTML formatting. See [rich message formatting options](rich-message-formatting-options.md) for more details. Use *media* field to specify the media used in the message. |
| markdown | String | *Optional*. Content of the rich message to send described using Markdown formatting. See [rich message formatting options](rich-message-formatting-options.md) for more details. Use *media* field to specify the media used in the message. |
| media | Array of [InputRichMessageMedia](inputrichmessagemedia.md) | *Optional*. List of media that are specified in the *markdown* or *html* fields using `tg://photo?id=`, `tg://video?id=`, `tg://document?id=`, and `tg://audio?id=` links |
| is\_rtl | Boolean | *Optional*. Pass *True* if the rich message must be shown right-to-left |
| skip\_entity\_detection | Boolean | *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 |
