# TextQuote

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

**Category:** Telegram Bot API — Types (A-Z)  
**URL:** https://docs.botlify.cloud/textquote  
**Platform:** Botlify Cloud (https://botlify.cloud)  

---

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

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| text | String | Always | Text of the quoted part of a message that is replied to by the given message |
| entities | Array of MessageEntity | Optional | Special entities that appear in the quote. Currently, only bold, italic, underline, strikethrough, spoiler, custom_emoji, and date_time entities are kept in quotes. |
| position | Integer | Always | Approximate quote position in the original message in UTF-16 code units as specified by the sender |
| is_manual | True | Optional | True, if the quote was chosen manually by the message sender. Otherwise, the quote was added automatically by the server. |

> [!TIP]
> **Botlify Cloud Runtime**
> Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.
