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.
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 |