class Poll
extends
Baseexport class Poll extends BaseRepresents a Poll
allowMultiselect : boolean
Whether this poll allows multiple answers
answers : Collection<number, PartialPollAnswer | PollAnswer>
The answers of this poll
readonlychannel : TextBasedChannel
The channel that this poll is in
channelId : Snowflake
The id of the channel that this poll is in
layoutType : PollLayoutType
The layout type of this poll
readonlymessage : Message
The message that started this poll
messageId : Snowflake
The id of the message that started this poll
question : PollQuestionMedia
The media for this poll's question
resultsFinalized : boolean
Whether this poll's results have been precisely counted