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

# EncCommentMessage

> Protobuf class EncCommentMessage generated from WAProto.

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

## Implements

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

## Constructors

### new EncCommentMessage()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### encIv?

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

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

#### Implementation of

[`IEncCommentMessage`](/proto-reference/Message/interfaces/IEncCommentMessage).[`encIv`](/proto-reference/Message/interfaces/IEncCommentMessage#enciv)

***

### encPayload?

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

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

#### Implementation of

[`IEncCommentMessage`](/proto-reference/Message/interfaces/IEncCommentMessage).[`encPayload`](/proto-reference/Message/interfaces/IEncCommentMessage#encpayload)

***

### targetMessageKey?

> `optional` **targetMessageKey**: `null` | [`IMessageKey`](/proto-reference/interfaces/IMessageKey)

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

#### Implementation of

[`IEncCommentMessage`](/proto-reference/Message/interfaces/IEncCommentMessage).[`targetMessageKey`](/proto-reference/Message/interfaces/IEncCommentMessage#targetmessagekey)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
