onPollVoted

open fun onPollVoted(channel: OpenChannel, pollVoteEvent: PollVoteEvent)

Called when one or more vote is cast/canceled on a poll. The user should search for cached messages that contain this event's poll (PollVoteEvent.pollId, PollVoteEvent.messageId) and call Poll.applyPollVoteEvent on those messages.

Since

4.5.0