restrict_participant
Restrict a participant's permissions in a supergroup by muting actions like sending messages, media, polls, or invites. Set an expiry timestamp for temporary bans or leave null for permanent restriction.
Instructions
Ограничить права участника супергруппы (read-only mute и т.п.).
В ChatBannedRights каждый bool=True означает ЗАПРЕТ соответствующего действия. send_*=False → разрешено отправлять (стандартный участник). send_*=True → запрещено (mute).
Args: until_unix: до какого UNIX timestamp; None = навсегда.
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": "restrict_participant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| user | Yes | ||
| send_gifs | No | ||
| send_media | No | ||
| send_polls | No | ||
| until_unix | No | ||
| change_info | No | ||
| embed_links | No | ||
| invite_users | No | ||
| pin_messages | No | ||
| send_messages | No | ||
| send_stickers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||