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

A reference.

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

- `type`: Type of the rich text, always "reference”
- `text`: Text of the reference
- `name`: The name of the reference

# `t`

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

# `decode_as`

---

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