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

# LIDMigration

> Protobuf class LIDMigration generated from WAProto.

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

## Implements

* [`ILIDMigration`](/proto-reference/DeviceCapabilities/interfaces/ILIDMigration)

## Constructors

### new LIDMigration()

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

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

#### Parameters

##### p?

[`ILIDMigration`](/proto-reference/DeviceCapabilities/interfaces/ILIDMigration)

#### Returns

[`LIDMigration`](/proto-reference/DeviceCapabilities/classes/LIDMigration)

## Properties

### chatDbMigrationTimestamp?

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

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

#### Implementation of

[`ILIDMigration`](/proto-reference/DeviceCapabilities/interfaces/ILIDMigration).[`chatDbMigrationTimestamp`](/proto-reference/DeviceCapabilities/interfaces/ILIDMigration#chatdbmigrationtimestamp)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`ILIDMigration`](/proto-reference/DeviceCapabilities/interfaces/ILIDMigration)

#### Returns

[`LIDMigration`](/proto-reference/DeviceCapabilities/classes/LIDMigration)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`LIDMigration`](/proto-reference/DeviceCapabilities/classes/LIDMigration)

***

### encode()

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

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

#### Parameters

##### m

[`ILIDMigration`](/proto-reference/DeviceCapabilities/interfaces/ILIDMigration)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`LIDMigration`](/proto-reference/DeviceCapabilities/classes/LIDMigration)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`LIDMigration`](/proto-reference/DeviceCapabilities/classes/LIDMigration)

##### o?

`IConversionOptions`

#### Returns

`object`
