getAggregateVotesInPollMessage(Defined in: src/Utils/messages.ts:936 Aggregates all poll updates in a poll.msg,meId?):VoteAggregation[]
Parameters
msg
Pick<WAMessage, "message" | "pollUpdates">
the poll creation message
meId?
string
your jid
Returns
VoteAggregation[]
A list of options & their voters