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

# FullHistorySyncOnDemandRequestResponse

> Protobuf class FullHistorySyncOnDemandRequestResponse generated from WAProto.

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

## Implements

* [`IFullHistorySyncOnDemandRequestResponse`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/interfaces/IFullHistorySyncOnDemandRequestResponse)

## Constructors

### new FullHistorySyncOnDemandRequestResponse()

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

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

#### Parameters

##### p?

[`IFullHistorySyncOnDemandRequestResponse`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/interfaces/IFullHistorySyncOnDemandRequestResponse)

#### Returns

[`FullHistorySyncOnDemandRequestResponse`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/classes/FullHistorySyncOnDemandRequestResponse)

## Properties

### requestMetadata?

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

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

#### Implementation of

[`IFullHistorySyncOnDemandRequestResponse`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/interfaces/IFullHistorySyncOnDemandRequestResponse).[`requestMetadata`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/interfaces/IFullHistorySyncOnDemandRequestResponse#requestmetadata)

***

### responseCode?

> `optional` **responseCode**: `null` | [`FullHistorySyncOnDemandResponseCode`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/enumerations/FullHistorySyncOnDemandResponseCode)

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

#### Implementation of

[`IFullHistorySyncOnDemandRequestResponse`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/interfaces/IFullHistorySyncOnDemandRequestResponse).[`responseCode`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/interfaces/IFullHistorySyncOnDemandRequestResponse#responsecode)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IFullHistorySyncOnDemandRequestResponse`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/interfaces/IFullHistorySyncOnDemandRequestResponse)

#### Returns

[`FullHistorySyncOnDemandRequestResponse`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/classes/FullHistorySyncOnDemandRequestResponse)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`FullHistorySyncOnDemandRequestResponse`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/classes/FullHistorySyncOnDemandRequestResponse)

***

### encode()

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

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

#### Parameters

##### m

[`IFullHistorySyncOnDemandRequestResponse`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/interfaces/IFullHistorySyncOnDemandRequestResponse)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`FullHistorySyncOnDemandRequestResponse`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/classes/FullHistorySyncOnDemandRequestResponse)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`FullHistorySyncOnDemandRequestResponse`](/proto-reference/Message/PeerDataOperationRequestResponseMessage/PeerDataOperationResult/classes/FullHistorySyncOnDemandRequestResponse)

##### o?

`IConversionOptions`

#### Returns

`object`
