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

# PollEncValue

> Protobuf class PollEncValue generated from WAProto.

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

## Implements

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

## Constructors

### new PollEncValue()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### encIv?

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

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

#### Implementation of

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

***

### encPayload?

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

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

#### Implementation of

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

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
