Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

Group → Update Settings

AI-generated

Summary

Update a WhatsApp group’s settings by applying the selected announcement or info-editing mode.

Inputs

  • jid (required) — Group JID, such as 123456789@g.us.
  • setting — Choose announcement (only admins can send), not_announcement (everyone can send), locked (only admins can edit group info), or unlocked (everyone can edit group info). Defaults to announcement.

Output shape

A single item containing a JSON object.

After the settings update, returns { success: true, jid, setting }.

Links

Discussion