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

# FullHistorySyncOnDemandRequest

> Protobuf class FullHistorySyncOnDemandRequest generated from WAProto.

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

## Implements

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

## Constructors

### new FullHistorySyncOnDemandRequest()

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

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

#### Parameters

##### p?

[`IFullHistorySyncOnDemandRequest`](/proto-reference/Message/PeerDataOperationRequestMessage/interfaces/IFullHistorySyncOnDemandRequest)

#### Returns

[`FullHistorySyncOnDemandRequest`](/proto-reference/Message/PeerDataOperationRequestMessage/classes/FullHistorySyncOnDemandRequest)

## Properties

### historySyncConfig?

> `optional` **historySyncConfig**: `null` | [`IHistorySyncConfig`](/proto-reference/DeviceProps/interfaces/IHistorySyncConfig)

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

#### Implementation of

[`IFullHistorySyncOnDemandRequest`](/proto-reference/Message/PeerDataOperationRequestMessage/interfaces/IFullHistorySyncOnDemandRequest).[`historySyncConfig`](/proto-reference/Message/PeerDataOperationRequestMessage/interfaces/IFullHistorySyncOnDemandRequest#historysyncconfig)

***

### requestMetadata?

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

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

#### Implementation of

[`IFullHistorySyncOnDemandRequest`](/proto-reference/Message/PeerDataOperationRequestMessage/interfaces/IFullHistorySyncOnDemandRequest).[`requestMetadata`](/proto-reference/Message/PeerDataOperationRequestMessage/interfaces/IFullHistorySyncOnDemandRequest#requestmetadata)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IFullHistorySyncOnDemandRequest`](/proto-reference/Message/PeerDataOperationRequestMessage/interfaces/IFullHistorySyncOnDemandRequest)

#### Returns

[`FullHistorySyncOnDemandRequest`](/proto-reference/Message/PeerDataOperationRequestMessage/classes/FullHistorySyncOnDemandRequest)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`FullHistorySyncOnDemandRequest`](/proto-reference/Message/PeerDataOperationRequestMessage/classes/FullHistorySyncOnDemandRequest)

***

### encode()

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

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

#### Parameters

##### m

[`IFullHistorySyncOnDemandRequest`](/proto-reference/Message/PeerDataOperationRequestMessage/interfaces/IFullHistorySyncOnDemandRequest)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`FullHistorySyncOnDemandRequest`](/proto-reference/Message/PeerDataOperationRequestMessage/classes/FullHistorySyncOnDemandRequest)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`FullHistorySyncOnDemandRequest`](/proto-reference/Message/PeerDataOperationRequestMessage/classes/FullHistorySyncOnDemandRequest)

##### o?

`IConversionOptions`

#### Returns

`object`
