interfaces
LocationMessageInterface
Wapi.js Docs / LocationMessageInterface
Interface: LocationMessageInterface
Represents the interface for a location message.
Extends
BaseMessageInterface
Properties
data
data:
object
address?
optional
address:string
The address of the location.
latitude
latitude:
number
The latitude coordinate of the location.
longitude
longitude:
number
The longitude coordinate of the location.
name?
optional
name:string
The name of the location.
Source
packages/wapi.js/src/structures/location/interface.ts:7
messaging_product
messaging_product:
"whatsapp"
The messaging product.
Inherited from
BaseMessageInterface.messaging_product
Source
packages/wapi.js/src/structures/message/interface.ts:17
recipient_type
recipient_type:
"individual"
The recipient type.
Inherited from
BaseMessageInterface.recipient_type
Source
packages/wapi.js/src/structures/message/interface.ts:22
type
type:
MessageTypeEnum
The type of the message.
Inherited from
BaseMessageInterface.type
Source
Was this page helpful?