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

# LIDMigrationMapping

> Protobuf class LIDMigrationMapping generated from WAProto.

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

## Implements

* [`ILIDMigrationMapping`](/proto-reference/interfaces/ILIDMigrationMapping)

## Constructors

### new LIDMigrationMapping()

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

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

#### Parameters

##### p?

[`ILIDMigrationMapping`](/proto-reference/interfaces/ILIDMigrationMapping)

#### Returns

[`LIDMigrationMapping`](/proto-reference/classes/LIDMigrationMapping)

## Properties

### assignedLid

> **assignedLid**: `number` | `Long`

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

#### Implementation of

[`ILIDMigrationMapping`](/proto-reference/interfaces/ILIDMigrationMapping).[`assignedLid`](/proto-reference/interfaces/ILIDMigrationMapping#assignedlid)

***

### latestLid?

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

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

#### Implementation of

[`ILIDMigrationMapping`](/proto-reference/interfaces/ILIDMigrationMapping).[`latestLid`](/proto-reference/interfaces/ILIDMigrationMapping#latestlid)

***

### pn

> **pn**: `number` | `Long`

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

#### Implementation of

[`ILIDMigrationMapping`](/proto-reference/interfaces/ILIDMigrationMapping).[`pn`](/proto-reference/interfaces/ILIDMigrationMapping#pn)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`ILIDMigrationMapping`](/proto-reference/interfaces/ILIDMigrationMapping)

#### Returns

[`LIDMigrationMapping`](/proto-reference/classes/LIDMigrationMapping)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`LIDMigrationMapping`](/proto-reference/classes/LIDMigrationMapping)

***

### encode()

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

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

#### Parameters

##### m

[`ILIDMigrationMapping`](/proto-reference/interfaces/ILIDMigrationMapping)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`LIDMigrationMapping`](/proto-reference/classes/LIDMigrationMapping)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`LIDMigrationMapping`](/proto-reference/classes/LIDMigrationMapping)

##### o?

`IConversionOptions`

#### Returns

`object`
