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

# PatchDebugData

> Protobuf class PatchDebugData generated from WAProto.

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

## Implements

* [`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData)

## Constructors

### new PatchDebugData()

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

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

#### Parameters

##### p?

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData)

#### Returns

[`PatchDebugData`](/proto-reference/classes/PatchDebugData)

## Properties

### collectionName?

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

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

#### Implementation of

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData).[`collectionName`](/proto-reference/interfaces/IPatchDebugData#collectionname)

***

### currentLthash?

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

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

#### Implementation of

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData).[`currentLthash`](/proto-reference/interfaces/IPatchDebugData#currentlthash)

***

### firstFourBytesFromAHashOfSnapshotMacKey?

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

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

#### Implementation of

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData).[`firstFourBytesFromAHashOfSnapshotMacKey`](/proto-reference/interfaces/IPatchDebugData#firstfourbytesfromahashofsnapshotmackey)

***

### isSenderPrimary?

> `optional` **isSenderPrimary**: `null` | `boolean`

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

#### Implementation of

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData).[`isSenderPrimary`](/proto-reference/interfaces/IPatchDebugData#issenderprimary)

***

### newLthash?

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

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

#### Implementation of

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData).[`newLthash`](/proto-reference/interfaces/IPatchDebugData#newlthash)

***

### newLthashSubtract?

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

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

#### Implementation of

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData).[`newLthashSubtract`](/proto-reference/interfaces/IPatchDebugData#newlthashsubtract)

***

### numberAdd?

> `optional` **numberAdd**: `null` | `number`

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

#### Implementation of

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData).[`numberAdd`](/proto-reference/interfaces/IPatchDebugData#numberadd)

***

### numberOverride?

> `optional` **numberOverride**: `null` | `number`

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

#### Implementation of

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData).[`numberOverride`](/proto-reference/interfaces/IPatchDebugData#numberoverride)

***

### numberRemove?

> `optional` **numberRemove**: `null` | `number`

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

#### Implementation of

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData).[`numberRemove`](/proto-reference/interfaces/IPatchDebugData#numberremove)

***

### patchVersion?

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

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

#### Implementation of

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData).[`patchVersion`](/proto-reference/interfaces/IPatchDebugData#patchversion)

***

### senderPlatform?

> `optional` **senderPlatform**: `null` | [`Platform`](/proto-reference/PatchDebugData/enumerations/Platform)

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

#### Implementation of

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData).[`senderPlatform`](/proto-reference/interfaces/IPatchDebugData#senderplatform)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData)

#### Returns

[`PatchDebugData`](/proto-reference/classes/PatchDebugData)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`PatchDebugData`](/proto-reference/classes/PatchDebugData)

***

### encode()

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

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

#### Parameters

##### m

[`IPatchDebugData`](/proto-reference/interfaces/IPatchDebugData)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`PatchDebugData`](/proto-reference/classes/PatchDebugData)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`PatchDebugData`](/proto-reference/classes/PatchDebugData)

##### o?

`IConversionOptions`

#### Returns

`object`
