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

A bot command.

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

- `type`: Type of the rich text, always "bot_command”
- `text`: The text
- `bot_command`: The bot command

# `t`

```elixir
@type t() :: %ExGram.Model.RichTextBotCommand{
  bot_command: String.t(),
  text: ExGram.Model.RichText.t(),
  type: String.t()
}
```

# `decode_as`

---

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