demote_admin
Revoke a user's admin privileges in a Telegram chat by setting all admin flags to false.
Instructions
Снять права админа (все флаги в 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": {
"chat": "<chat>",
"user": "<user>"
},
"name": "demote_admin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| user | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||