channel_revokeChannelAdminInvite
Cancel an admin invitation for a WhatsApp channel user. Provide chat ID, user ID, and session ID to revoke the invite.
Instructions
[Channel Chat] Revokes a channel admin invitation sent to a user by a channel owner
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": "channel_revokeChannelAdminInvite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | Unique WhatsApp id for the given channel group | |
| userId | No | The ID of the user to demote | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |