groupChat_demoteParticipants
Demote group chat participants to regular users by providing their WhatsApp participant IDs. Remove admin privileges to regain control over group permissions.
Instructions
[Group Chat] Demote the participants. Demote participants by ID to regular users
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": {
"sessionId": "<sessionId>"
},
"name": "groupChat_demoteParticipants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | Unique WhatsApp id for the given chat group | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) | |
| participantIds | No | Unique WhatsApp identifiers for the participants |