Promote / demote an admin
telegram_promote_adminGrant or revoke admin rights for a Telegram chat member using moderator, full, or none presets, with an optional custom title.
Instructions
Grant or revoke admin rights for a member. preset: 'moderator' (default, can delete and ban), 'full' (everything except anonymous), 'none' (demote). Optional custom title (rank).
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": "<chat>",
"user": "<user>"
},
"name": "telegram_promote_admin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| rank | No | ||
| user | Yes | ||
| preset | No | moderator |