Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

Community → Toggle Ephemeral

AI-generated

Summary

Set a community’s disappearing-message duration in WhatsApp. Choose the community JID and a duration; selecting Off disables ephemeral messages.

Inputs

  • jid (required) — JID of the community to update.
  • ephemeralDuration — Disappearing-message duration: Off (0, default), 24 Hours (86400), 7 Days (604800), or 90 Days (7776000).

Output shape

A single item with a JSON object.

After the update call, returns { success: true, jid, duration } with the selected duration value.

Links

Discussion