# inputrichblockthinking

> A block with a "Thinking..." placeholder, corresponding to the custom HTML tag <tg-thinking>

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

---

A block with a "Thinking..." placeholder, corresponding to the custom HTML tag `<tg-thinking>`. The block may be used only in sendRichMessageDraft, therefore it can't be received in messages. See https://t.me/addemoji/AIActions for examples of custom emoji that are recommended for usage in the block.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| type | String | Always | Type of the block, always "thinking" |
| text | RichText | Always | Text of the block. See https://t.me/addemoji/AIActions for examples of custom emoji that are recommended for usage in the block. |

> [!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.
