Baileys Instance icon

Baileys Instance

Use the wa-instance API built on Baileys 7

Chat → Mute

AI-generated

Summary

Mute or unmute a chat by sending a request to the Baileys Instance API. Choose the chat by its JID, then either set a mute-until time or unmute it.

Inputs

  • Chat JID (required) — JID of the chat to update.
  • Mute Mode (required) — Choose “Mute Until” (the default) or “Unmute”.
  • Mute Until — Date and time until which to mute the chat; shown and sent when Mute Mode is “Mute Until”.

Output shape

A single item containing the API response as JSON.

For mute mode, the request sends muted: true and the mute-until value if provided. For unmute mode, it sends muted: false.

Links

Discussion