telegram_delete_message
Delete a Telegram channel message permanently using channel ID and message ID. Requires bot delete permissions.
Instructions
Delete a message from a Telegram channel.
Use this tool to permanently remove a message from a channel. The bot must have delete message permissions in the channel.
Args: channel_id: Channel username (e.g., '@mychannel') or numeric chat ID. message_id: The unique identifier of the message to delete. response_format: Response format. Options: 'json' for structured data, 'markdown' for human-readable text. Default is 'markdown'.
Returns: A dictionary containing success status, message_id, and operation status. If response_format='markdown', returns formatted text content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ||
| message_id | Yes | ||
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||