Change a group's info and settings
manage_group_settingsChange a group's name, description, who can send or edit info, join approval, member-add rules, and picture, or remove its picture, via a wuapi account.
Instructions
Change a group the account administers: its name, description and settings (who can send, who can edit the info, whether joining needs approval, who can add members), and its picture.
Actions:
update: Change any of name, description, announce, locked, joinApproval and memberAddMode. Returns the group.set_picture: Set the group picture from an https URL or base64 JPEG. Returns the picture.delete_picture: Remove the group picture. Needsconfirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The group name. Optional for `update`. | |
| action | Yes | What to do. See the list of actions in the tool description. | |
| locked | No | `true`: only admins can edit the group info. Optional for `update`. | |
| confirm | No | Must be true. The group picture is removed. Only set it after the user asked for this or agreed to it. Required for `delete_picture`. | |
| groupId | No | The group id (`...@g.us`), from list_groups. Required for every action. | |
| announce | No | `true`: only admins can send messages. Optional for `update`. | |
| accountId | No | The wuapi account id of the linked number to act as (from list_accounts). Required for every action. | |
| pictureUrl | No | The picture as a public https URL of a JPEG. wuapi downloads it. Pass this or `pictureBase64`. Optional for `set_picture`. | |
| description | No | The group description. An empty string clears it. Optional for `update`. | |
| joinApproval | No | `true`: new members need an admin's approval (see manage_group_joins). Optional for `update`. | |
| memberAddMode | No | Who can add members. Optional for `update`. | |
| pictureBase64 | No | The picture as a base64 JPEG. Pass this or `pictureUrl`. Optional for `set_picture`. |