# `ExGram.Model.InputRichMessage`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.67.0/lib/ex_gram.ex#L6862)

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

Check the [documentation of this model on Telegram Bot API](https://core.telegram.org/bots/api#inputrichmessage)

- `html (optional)`: Optional. Content of the rich message to send described using HTML formatting. See rich message formatting options for more details.
- `markdown (optional)`: Optional. Content of the rich message to send described using Markdown formatting. See rich message formatting options for more details.
- `is_rtl (optional)`: Optional. Pass True if the rich message must be shown right-to-left
- `skip_entity_detection (optional)`: 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

# `t`

```elixir
@type t() :: %ExGram.Model.InputRichMessage{
  html: String.t() | nil,
  is_rtl: boolean() | nil,
  markdown: String.t() | nil,
  skip_entity_detection: boolean() | nil
}
```

# `decode_as`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
