# MessageGenerationStopped

> This object describes an update about a user stopping message generation

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

---

This object describes an update about a user stopping message generation.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| chat | Chat | Always | Chat in which the message is generated |
| message_thread_id | Integer | Optional | Unique identifier of the message thread in which the message is generated |
| draft_id | Integer | Always | Unique identifier of the message draft which was stopped |

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