Bot: delete message
bot_delete_messageDelete a bot message or an admin-authorized message by chat and message ID; deletion is irreversible, so confirm with the user first.
Instructions
Delete a message the bot may delete (its own, or as admin). Irreversible; confirm with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat id (number, e.g. 123456789) or public '@channel' username. See bot_list_chats. | |
| message_id | Yes | Message id to delete. |