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

# updateMessageWithPollUpdate

> Update the message with a new poll update

> **updateMessageWithPollUpdate**(`msg`, `update`): `void`

Defined in: [src/Utils/messages.ts:901](https://github.com/WhiskeySockets/Baileys/blob/master/src/Utils/messages.ts#L901)

Update the message with a new poll update

## Parameters

### msg

`Pick`\<[`WAMessage`](/api-reference/type-aliases/WAMessage), `"pollUpdates"`>

### update

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

## Returns

`void`
