editGeneralForumTopic
Renames the 'General' forum topic in a Telegram supergroup by updating its name; the bot must be an administrator with can_manage_topics rights.
Instructions
Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator 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>",
"name": "<name>"
},
"name": "editGeneralForumTopic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New topic name, 1-128 characters | |
| chat_id | Yes | Unique identifier for the target chat or username of the target supergroup in the format `@username` |