setChatTitle
Changes the title of a Telegram group or channel chat (not private chats); the bot must be an administrator with rights to edit chat settings.
Instructions
Use this method to change the title of a chat. Titles can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate 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>",
"title": "<title>"
},
"name": "setChatTitle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | New chat title, 1-255 characters | |
| chat_id | Yes | Unique identifier for the target chat or username of the target channel in the format `@username` |