Skip to main content
getAggregateVotesInPollMessage(msg, meId?): VoteAggregation[]
Defined in: src/Utils/messages.ts:936 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