Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

User → Subscribe to Presence

AI-generated

Summary

Subscribe to presence updates for a WhatsApp user by calling presenceSubscribe with their JID.

Inputs

  • JID (required) — WhatsApp JID of the user to subscribe to, such as 12025551234@s.whatsapp.net.

Output shape

A single item with a JSON object.

On success, the object contains success: true, the supplied jid, and action: "subscribePresence". The operation subscribes to updates; it does not return presence data.

Links

Discussion