Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

Message → Pin Message

AI-generated

Summary

Pins or unpins a specified WhatsApp message in a chat. Choose the recipient JID, identify the target message, indicate whether it was sent by you, and select the action and pin duration.

Inputs

  • Recipient JID (required) — Chat JID for the recipient or group, such as 12025551234@s.whatsapp.net or groupid@g.us.
  • Message ID (required) — ID of the message to pin or unpin.
  • Message From Me — Whether the target message was sent by you; defaults to false.
  • Pin Action — Pin or unpin the message; defaults to Pin.
  • Pin Duration — Pin duration: 24 hours (default), 7 days, or 30 days. Passed with either action.

Output shape

A single item containing the WhatsApp sendMessage result in its json field, or an empty object if no result is returned.

The node sends a pin control message for the specified chat and target message.

Links

Discussion