votePoll

fun votePoll(pollId: Long, pollOptionIds: List<Long>, handler: PollVoteEventHandler?)

Vote on pollOptionIds. This operation overrides previous vote actions, so to update previous vote, pass new pollOptionIds as parameter. To cancel votes, pass an empty list as pollOptionIds.

Since

4.5.0

Parameters

pollId

the id of the Poll to vote poll option.

pollOptionIds

List of option IDs to vote for.

handler

The callback handler.