Bot: delete message
bot_delete_messageDelete a message in a chat where the bot can (its own or as admin). Cannot be undone; confirm with the user first.
Instructions
Delete a message in a chat where the bot may delete it (its own messages, or as admin). Cannot be undone; confirm with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat id (number from bot_get_new_messages or bot_list_chats, e.g. 123456789) or a public channel/group username like '@mychannel'. | |
| message_id | Yes | Message id to delete. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||