Skip to main content

getAggregateVotesInPollMessage

amiudmodz


amiudmodz / getAggregateVotesInPollMessage

Function: getAggregateVotesInPollMessage()

getAggregateVotesInPollMessage(msg, meId?): VoteAggregation[]

Defined in: src/Utils/messages.ts:937

Aggregates all poll updates in a poll.

Parameters

msg

Pick<WAMessage, "message" | "pollUpdates">

the poll creation message

meId?

string

your jid

Returns

VoteAggregation[]

A list of options & their voters