delete_message
Delete a message from a chat using its message ID. Optionally specify the chat; defaults to the log group. Bot must have delete permissions.
Instructions
Delete a message from a chat. Bot must have delete permissions. If chat_id is omitted, targets the default log group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group | |
| message_id | Yes | ID of the message to delete |