delete_message
Delete a message from a chat using its message ID. Optionally specify the chat ID; if omitted, uses the default chat.
Instructions
Delete a message from a chat.
Args: message_id: ID of the message to delete chat_id: Chat ID or @channel_username (uses TELEGRAM_CHAT_ID if omitted)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | ||
| chat_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |