Description

Class representing an event that one or more vote has been casted on a poll option. The affected poll may be in multiple channels. This event will be passed to BaseChannelHandler.onPollVoted. Once this event is received, the user must find cached messages that contain this poll and apply changes using poll.applyPollVoteEvent().

Hierarchy

  • PollVoteEvent

Properties

Properties

messageId: number = 0

The ID of the message that contains the Poll.

pollId: number = 0

The ID of the Poll.

Generated using TypeDoc