update_group_participants
Manage group participants by adding, removing, promoting, or demoting members in WhatsApp groups. Requires admin privileges to modify group membership and roles.
Instructions
Add, remove, promote, or demote participants of a group. Requires admin privileges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | participant mutation to perform | |
| chat_jid | Yes | WhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us` | |
| participants | Yes | phone numbers or individual JIDs (WhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us`) |