# BusinessMessagesDeleted

> This object is received when messages are deleted from a connected business account

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

---

This object is received when messages are deleted from a connected business account.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| business_connection_id | String | Always | Unique identifier of the business connection |
| chat | Chat | Always | Information about a chat in the business account. The bot may not have access to the chat or the corresponding user. |
| message_ids | Array of Integer | Always | The list of identifiers of deleted messages in the chat of the business account |

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