Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

Chat → Mute

AI-generated

Summary

Mute a WhatsApp chat for a selected duration using its chat JID. The operation calls the chat modification API and returns a success record with the JID, action, and duration.

Inputs

  • Chat JID (required) — JID of the chat to mute, such as 12025551234@s.whatsapp.net.
  • Mute Duration (Ms) — Choose 8 hours (28,800,000 ms), 1 week (604,800,000 ms), or Always (-1). Defaults to 8 hours; Always is sent to the API as a null mute value.

Output shape

A single item containing a JSON record.

On success, the record has success: true, the chat jid, action: "mute", and the selected duration.

Links

Discussion