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

# LiveLocationMessage

> Protobuf class LiveLocationMessage generated from WAProto.

Defined in: [WAProto/index.d.ts:7344](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7344)

## Implements

* [`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage)

## Constructors

### new LiveLocationMessage()

> **new LiveLocationMessage**(`p`?): [`LiveLocationMessage`](/proto-reference/Message/classes/LiveLocationMessage)

Defined in: [WAProto/index.d.ts:7345](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7345)

#### Parameters

##### p?

[`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage)

#### Returns

[`LiveLocationMessage`](/proto-reference/Message/classes/LiveLocationMessage)

## Properties

### accuracyInMeters?

> `optional` **accuracyInMeters**: `null` | `number`

Defined in: [WAProto/index.d.ts:7348](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7348)

#### Implementation of

[`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage).[`accuracyInMeters`](/proto-reference/Message/interfaces/ILiveLocationMessage#accuracyinmeters)

***

### caption?

> `optional` **caption**: `null` | `string`

Defined in: [WAProto/index.d.ts:7351](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7351)

#### Implementation of

[`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage).[`caption`](/proto-reference/Message/interfaces/ILiveLocationMessage#caption)

***

### contextInfo?

> `optional` **contextInfo**: `null` | [`IContextInfo`](/proto-reference/interfaces/IContextInfo)

Defined in: [WAProto/index.d.ts:7355](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7355)

#### Implementation of

[`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage).[`contextInfo`](/proto-reference/Message/interfaces/ILiveLocationMessage#contextinfo)

***

### degreesClockwiseFromMagneticNorth?

> `optional` **degreesClockwiseFromMagneticNorth**: `null` | `number`

Defined in: [WAProto/index.d.ts:7350](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7350)

#### Implementation of

[`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage).[`degreesClockwiseFromMagneticNorth`](/proto-reference/Message/interfaces/ILiveLocationMessage#degreesclockwisefrommagneticnorth)

***

### degreesLatitude?

> `optional` **degreesLatitude**: `null` | `number`

Defined in: [WAProto/index.d.ts:7346](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7346)

#### Implementation of

[`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage).[`degreesLatitude`](/proto-reference/Message/interfaces/ILiveLocationMessage#degreeslatitude)

***

### degreesLongitude?

> `optional` **degreesLongitude**: `null` | `number`

Defined in: [WAProto/index.d.ts:7347](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7347)

#### Implementation of

[`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage).[`degreesLongitude`](/proto-reference/Message/interfaces/ILiveLocationMessage#degreeslongitude)

***

### jpegThumbnail?

> `optional` **jpegThumbnail**: `null` | `Uint8Array`\<`ArrayBufferLike`>

Defined in: [WAProto/index.d.ts:7354](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7354)

#### Implementation of

[`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage).[`jpegThumbnail`](/proto-reference/Message/interfaces/ILiveLocationMessage#jpegthumbnail)

***

### sequenceNumber?

> `optional` **sequenceNumber**: `null` | `number` | `Long`

Defined in: [WAProto/index.d.ts:7352](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7352)

#### Implementation of

[`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage).[`sequenceNumber`](/proto-reference/Message/interfaces/ILiveLocationMessage#sequencenumber)

***

### speedInMps?

> `optional` **speedInMps**: `null` | `number`

Defined in: [WAProto/index.d.ts:7349](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7349)

#### Implementation of

[`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage).[`speedInMps`](/proto-reference/Message/interfaces/ILiveLocationMessage#speedinmps)

***

### timeOffset?

> `optional` **timeOffset**: `null` | `number`

Defined in: [WAProto/index.d.ts:7353](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7353)

#### Implementation of

[`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage).[`timeOffset`](/proto-reference/Message/interfaces/ILiveLocationMessage#timeoffset)

## Methods

### create()

> `static` **create**(`properties`?): [`LiveLocationMessage`](/proto-reference/Message/classes/LiveLocationMessage)

Defined in: [WAProto/index.d.ts:7356](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7356)

#### Parameters

##### properties?

[`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage)

#### Returns

[`LiveLocationMessage`](/proto-reference/Message/classes/LiveLocationMessage)

***

### decode()

> `static` **decode**(`r`, `l`?): [`LiveLocationMessage`](/proto-reference/Message/classes/LiveLocationMessage)

Defined in: [WAProto/index.d.ts:7358](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7358)

#### Parameters

##### r

`Uint8Array`\<`ArrayBufferLike`> | `Reader`

##### l?

`number`

#### Returns

[`LiveLocationMessage`](/proto-reference/Message/classes/LiveLocationMessage)

***

### encode()

> `static` **encode**(`m`, `w`?): `Writer`

Defined in: [WAProto/index.d.ts:7357](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7357)

#### Parameters

##### m

[`ILiveLocationMessage`](/proto-reference/Message/interfaces/ILiveLocationMessage)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

> `static` **fromObject**(`d`): [`LiveLocationMessage`](/proto-reference/Message/classes/LiveLocationMessage)

Defined in: [WAProto/index.d.ts:7359](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7359)

#### Parameters

##### d

#### Returns

[`LiveLocationMessage`](/proto-reference/Message/classes/LiveLocationMessage)

***

### getTypeUrl()

> `static` **getTypeUrl**(`typeUrlPrefix`?): `string`

Defined in: [WAProto/index.d.ts:7362](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7362)

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

> **toJSON**(): `object`

Defined in: [WAProto/index.d.ts:7361](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7361)

#### Returns

`object`

***

### toObject()

> `static` **toObject**(`m`, `o`?): `object`

Defined in: [WAProto/index.d.ts:7360](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L7360)

#### Parameters

##### m

[`LiveLocationMessage`](/proto-reference/Message/classes/LiveLocationMessage)

##### o?

`IConversionOptions`

#### Returns

`object`
