Skip to main content
Defined in: core/provider.ts:168 A location the user shared, normalized by the provider (InboundMessage.location, surfaced on ctx.sharedLocation). Coordinates are WGS84 decimal degrees. Providers fill it for: WhatsApp via Baileys (locationMessage / liveLocationMessage), WhatsApp Cloud API (location), Telegram (location / venue) and Messenger (location attachments, when Meta still sends coordinates).

Properties

latitude

Defined in: core/provider.ts:169

longitude

Defined in: core/provider.ts:170

name?

Defined in: core/provider.ts:172 Place name (a venue, a named pin), when the transport sends one.

address?

Defined in: core/provider.ts:174 Street address, when the transport sends one.

live?

Defined in: core/provider.ts:176 true for a live-location share (its first update); omitted for a static pin.