ChatPollVoteCallback typedef

ChatPollVoteCallback = void Function(PollMessage message, String optionId)

Called when the user votes in a poll.

Implementation

typedef ChatPollVoteCallback = void Function(
  PollMessage message,
  String optionId,
);