Function: getAggregateVotesInPollMessage()
getAggregateVotesInPollMessage(
msg,meId?):VoteAggregation[]
Defined in: src/Utils/messages.ts:861
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