Skip to main content

Function: getAggregateVotesInPollMessage()

getAggregateVotesInPollMessage(msg, meId?): VoteAggregation[]

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

Aggregates all poll updates in a poll.

Parameters

msg

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

the poll creation message

meId?

string

your jid

Returns

VoteAggregation[]

A list of options & their voters