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

# AppStateSyncKeyRequest

> Protobuf class AppStateSyncKeyRequest generated from WAProto.

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

## Implements

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

## Constructors

### new AppStateSyncKeyRequest()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### keyIds

> **keyIds**: [`IAppStateSyncKeyId`](/proto-reference/Message/interfaces/IAppStateSyncKeyId)\[]

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

#### Implementation of

[`IAppStateSyncKeyRequest`](/proto-reference/Message/interfaces/IAppStateSyncKeyRequest).[`keyIds`](/proto-reference/Message/interfaces/IAppStateSyncKeyRequest#keyids)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
