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

A mention by a username.

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

- `type`: Type of the rich text, always "mention”
- `text`: The text
- `username`: The username

# `t`

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

# `decode_as`

---

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