> ## Documentation Index
> Fetch the complete documentation index at: https://javascript.wapikit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LocationMessageInterface

[Wapi.js Docs](../README.mdx) / 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](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/structures/location/interface.ts#L7)

***

### messaging\_product

> **messaging\_product**: `"whatsapp"`

The messaging product.

#### Inherited from

`BaseMessageInterface.messaging_product`

#### Source

[packages/wapi.js/src/structures/message/interface.ts:17](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/structures/message/interface.ts#L17)

***

### recipient\_type

> **recipient\_type**: `"individual"`

The recipient type.

#### Inherited from

`BaseMessageInterface.recipient_type`

#### Source

[packages/wapi.js/src/structures/message/interface.ts:22](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/structures/message/interface.ts#L22)

***

### type

> **type**: `MessageTypeEnum`

The type of the message.

#### Inherited from

`BaseMessageInterface.type`

#### Source

[packages/wapi.js/src/structures/message/interface.ts:12](https://github.com/sarthakjdev/wapi.js/blob/1b066ed4efaf997a4bb012da51514dfcb4165da6/packages/wapi.js/src/structures/message/interface.ts#L12)
