Promote a user to admin
promote_adminGrant admin rights to a user in a Telegram chat. Specify only the permissions you want; omitted ones default to false.
Instructions
Grant admin rights. Pass only the fields you want enabled; omitted fields default to false.
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": {
"peer": "<peer>",
"user": "<user>",
"rights": "<rights>"
},
"name": "promote_admin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | ||
| rank | No | Custom admin badge text | |
| user | Yes | ||
| rights | Yes | ||
| accountId | No |