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

# PnForLidChatAction

> Protobuf class PnForLidChatAction generated from WAProto.

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

## Implements

* [`IPnForLidChatAction`](/proto-reference/SyncActionValue/interfaces/IPnForLidChatAction)

## Constructors

### new PnForLidChatAction()

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

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

#### Parameters

##### p?

[`IPnForLidChatAction`](/proto-reference/SyncActionValue/interfaces/IPnForLidChatAction)

#### Returns

[`PnForLidChatAction`](/proto-reference/SyncActionValue/classes/PnForLidChatAction)

## Properties

### pnJid?

> `optional` **pnJid**: `null` | `string`

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

#### Implementation of

[`IPnForLidChatAction`](/proto-reference/SyncActionValue/interfaces/IPnForLidChatAction).[`pnJid`](/proto-reference/SyncActionValue/interfaces/IPnForLidChatAction#pnjid)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IPnForLidChatAction`](/proto-reference/SyncActionValue/interfaces/IPnForLidChatAction)

#### Returns

[`PnForLidChatAction`](/proto-reference/SyncActionValue/classes/PnForLidChatAction)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`PnForLidChatAction`](/proto-reference/SyncActionValue/classes/PnForLidChatAction)

***

### encode()

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

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

#### Parameters

##### m

[`IPnForLidChatAction`](/proto-reference/SyncActionValue/interfaces/IPnForLidChatAction)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`PnForLidChatAction`](/proto-reference/SyncActionValue/classes/PnForLidChatAction)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`PnForLidChatAction`](/proto-reference/SyncActionValue/classes/PnForLidChatAction)

##### o?

`IConversionOptions`

#### Returns

`object`
