Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

Label → Add Message Label

AI-generated

Summary

Add a label to a WhatsApp message in the specified chat using Bailey. The operation calls the message-label API and returns a success flag with the chat JID, message ID, and label ID.

Inputs

  • Chat JID (required) — WhatsApp chat JID containing the message.
  • Label ID (required) — ID of the label to apply, such as one obtained from a labels.edit event.
  • Message ID (required) — ID of the message to label.

Output shape

A single item with a JSON object.

On success, the JSON contains success: true, jid, messageId, and labelId. The operation changes the label on the specified message.

Links

Discussion