class Poll
extends
Baseexport class Poll extends Base
Represents a Poll
boolean allowMultiselect :
Whether this poll allows multiple answers
Collection<number, PollAnswer> answers :
The answers of this poll
readonlyDate expiresAt :
The date when this poll expires
number expiresTimestamp :
The timestamp when this poll expires
PollLayoutType layoutType :
The layout type of this poll
readonlyMessage message :
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