# `ExGram.Model.TextQuote`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.64.0/lib/ex_gram.ex#L3639)

This object contains information about the quoted part of a message that is replied to by the given message.

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

- `text`: Text of the quoted part of a message that is replied to by the given message
- `position`: Approximate quote position in the original message in UTF-16 code units as specified by the sender
- `entities (optional)`: Optional. Special entities that appear in the quote. Currently, only bold, italic, underline, strikethrough, spoiler, and custom_emoji entities are kept in quotes.
- `is_manual (optional)`: Optional. True, if the quote was chosen manually by the message sender. Otherwise, the quote was added automatically by the server.

# `t`

```elixir
@type t() :: %ExGram.Model.TextQuote{
  entities: [ExGram.Model.MessageEntity.t()] | nil,
  is_manual: boolean() | nil,
  position: integer(),
  text: String.t()
}
```

# `decode_as`

---

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