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

# AppStateSyncKeyId

> Protobuf class AppStateSyncKeyId generated from WAProto.

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

## Implements

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

## Constructors

### new AppStateSyncKeyId()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### keyId?

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

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

#### Implementation of

[`IAppStateSyncKeyId`](/proto-reference/Message/interfaces/IAppStateSyncKeyId).[`keyId`](/proto-reference/Message/interfaces/IAppStateSyncKeyId#keyid)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
