Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

Community → Update Settings

AI-generated

Summary

Updates a WhatsApp community setting by calling the Bailey community settings API. Choose whether to enable announcement mode or lock community settings, or select the corresponding “Not Announcement” or “Unlocked” option.

Inputs

  • jid (required) — Community JID to update.
  • setting — Setting to apply: Announcement Mode (announcement), Not Announcement (not_announcement), Locked (locked), or Unlocked (unlocked). Defaults to Announcement Mode.

Output shape

A single item with a JSON object.

Returns { success: true, jid, setting } after the update call completes.

Examples

Example 1: Lock a community

Provide its JID and select Locked.

Links

Discussion