Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

Message → Send Location

AI-generated

Summary

Send a WhatsApp location message to a contact or group using its JID and latitude/longitude coordinates. Optionally include a location name and street address.

Inputs

  • Recipient JID (required) — WhatsApp JID for the recipient, such as a contact JID ending in @s.whatsapp.net or a group JID ending in @g.us.
  • Latitude (required) — Latitude coordinate for the location.
  • Longitude (required) — Longitude coordinate for the location.
  • Location Name — Optional location name; an empty value is omitted from the message.
  • Address — Optional street address; an empty value is omitted from the message.

Output shape

A single item containing the WhatsApp sendMessage result as JSON.

If the send operation returns no result, the JSON output is an empty object.

Links

Discussion