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

# PollUpdateMessageMetadata

> Protobuf class PollUpdateMessageMetadata generated from WAProto.

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

## Implements

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

## Constructors

### new PollUpdateMessageMetadata()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
