setChatAdministratorCustomTitle
Sets a custom title for an administrator in a supergroup promoted by the bot, returning True on success.
Instructions
Use this method to set a custom title for an administrator in a supergroup promoted by the bot. 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>",
"user_id": "<user_id>",
"custom_title": "<custom_title>"
},
"name": "setChatAdministratorCustomTitle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Unique identifier for the target chat or username of the target supergroup in the format `@username` | |
| user_id | Yes | Unique identifier of the target user | |
| custom_title | Yes | New custom title for the administrator; 0-16 characters, emoji are not allowed |