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

A link to an anchor.

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

- `type`: Type of the rich text, always "anchor_link”
- `text`: The link text
- `anchor_name`: The name of the anchor. If the name is empty, then the link brings back to the top of the message.

# `t`

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

# `decode_as`

---

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