channel_sendChannelAdminInvite
Send an admin invitation to a user for a WhatsApp channel, using the channel's unique chat ID and the user's ID.
Instructions
[Channel Chat] Sends a channel admin invitation to a user
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_sendChannelAdminInvite"
}
}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 | |
| options | No | Options for sending a channel admin invitation to a user | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |