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

# AppStateSyncKeyData

> Protobuf class AppStateSyncKeyData generated from WAProto.

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

## Implements

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

## Constructors

### new AppStateSyncKeyData()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### fingerprint?

> `optional` **fingerprint**: `null` | [`IAppStateSyncKeyFingerprint`](/proto-reference/Message/interfaces/IAppStateSyncKeyFingerprint)

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

#### Implementation of

[`IAppStateSyncKeyData`](/proto-reference/Message/interfaces/IAppStateSyncKeyData).[`fingerprint`](/proto-reference/Message/interfaces/IAppStateSyncKeyData#fingerprint)

***

### keyData?

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

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

#### Implementation of

[`IAppStateSyncKeyData`](/proto-reference/Message/interfaces/IAppStateSyncKeyData).[`keyData`](/proto-reference/Message/interfaces/IAppStateSyncKeyData#keydata)

***

### timestamp?

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

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

#### Implementation of

[`IAppStateSyncKeyData`](/proto-reference/Message/interfaces/IAppStateSyncKeyData).[`timestamp`](/proto-reference/Message/interfaces/IAppStateSyncKeyData#timestamp)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
