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

A text with a phone number.

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

- `type`: Type of the rich text, always "phone_number”
- `text`: The text
- `phone_number`: The phone number

# `t`

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

# `decode_as`

---

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