deleteForumTopic
Delete a forum topic and all associated messages in a Telegram supergroup chat. Requires bot administrator rights with can_delete_messages permission.
Instructions
Delete a forum topic along with all its messages in a forum supergroup chat. The bot must be an administrator with can_delete_messages rights. Returns True on success.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat_id": "<chat_id>",
"message_thread_id": "<message_thread_id>"
},
"name": "deleteForumTopic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Unique identifier for the target chat or username (in the format @supergroupusername) | |
| message_thread_id | Yes | Unique identifier for the target message thread of the forum topic |