Wapi.js Docs / LocationMessageInterfaceDocumentation Index
Fetch the complete documentation index at: https://javascript.wapikit.com/llms.txt
Use this file to discover all available pages before exploring further.
Interface: LocationMessageInterface
Represents the interface for a location message.Extends
BaseMessageInterface
Properties
data
data: object
address?
The address of the location.optionaladdress:string
latitude
latitude: number
The latitude coordinate of the location.
longitude
longitude: number
The longitude coordinate of the location.
name?
The name of the location.optionalname:string
Source
packages/wapi.js/src/structures/location/interface.ts:7messaging_product
messaging_product: "whatsapp"
The messaging product.
Inherited from
BaseMessageInterface.messaging_product
Source
packages/wapi.js/src/structures/message/interface.ts:17recipient_type
recipient_type: "individual"
The recipient type.
Inherited from
BaseMessageInterface.recipient_type
Source
packages/wapi.js/src/structures/message/interface.ts:22type
type: MessageTypeEnum
The type of the message.
Inherited from
BaseMessageInterface.type