Baileys Instance icon

Baileys Instance

Use the wa-instance API built on Baileys 7

Group → Update Ephemeral

AI-generated

Summary

Update the ephemeral expiration setting for a WhatsApp group, controlling the duration messages remain visible before disappearing.

Inputs

  • Group JID (required) — The JID (unique identifier) of the WhatsApp group whose ephemeral expiration setting you want to update.
  • Ephemeral Expiration (required) — The duration in seconds for ephemeral messages in the group. Set to 0 to disable ephemeral messaging for the group.

Output shape

a single JSON object containing the updated group ephemeral expiration settings or confirmation of the update

No explicit pagination or filtering. If the specified Group JID does not exist or is invalid, the operation will error. The return structure corresponds to the API's PATCH /groups/{groupJid}/ephemeral response.

Links

Discussion