BusinessMessagesDeleted

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

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

Fields

FieldTypeRequiredDescription
business_connection_idStringAlwaysUnique identifier of the business connection
chatChatAlwaysInformation about a chat in the business account. The bot may not have access to the chat or the corresponding user.
message_idsArray of IntegerAlwaysThe list of identifiers of deleted messages in the chat of the business account
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.