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