onPollUpdated method

void onPollUpdated(
  1. GroupChannel channel,
  2. PollUpdateEvent event
)

Called when a poll is updated. The user should search for cached messages that contain this event's poll (PollUpdateEvent.pollId, PollUpdateEvent.messageId) and call Poll.applyPollUpdateEvent on those messages.

Implementation

void onPollUpdated(GroupChannel channel, PollUpdateEvent event) {}