Constructors
Properties
Readonly
_peers
Readonly
raw
Optional
Readonly
results
Readonly
type
type: "poll" = ...
Accessors
answers
- get answers(): readonly PollAnswer[]
id
- get id(): Long
inputMedia
- get inputMedia(): TypeInputMedia
isClosed
- get isClosed(): boolean
Returns boolean
isMultiple
- get isMultiple(): boolean
Returns boolean
isPublic
- get isPublic(): boolean
Returns boolean
isQuiz
- get isQuiz(): boolean
Returns boolean
question
- get question(): string
Returns string
questionEntities
- get questionEntities(): readonly MessageEntity[]
solution
- get solution(): null | string
Returns null | string
solutionEntities
- get solutionEntities(): null | readonly MessageEntity[]
voters
- get voters(): number
Returns number
List of answers in this poll