Interface: PollData
api/model/message.PollData
Properties
pollMessage
• pollMessage: Message
The message object of the poll
pollOptions
• pollOptions: PollOption
& { count
: number
}[]
The poll options and their respective count of votes.
totalVotes
• totalVotes: number
The total amount of votes recorded so far
votes
• votes: PollVote
[]
An arrray of vote objects