APIPoll
Defined in: packages/types/src/index.ts:418
Raw Discord poll object.
Properties
Section titled “Properties”allow_multiselect
Section titled “allow_multiselect”allow_multiselect:
boolean
Defined in: packages/types/src/index.ts:425
answers
Section titled “answers”answers:
object[]
Defined in: packages/types/src/index.ts:420
answer_id
Section titled “answer_id”answer_id:
number
poll_media
Section titled “poll_media”poll_media:
object
poll_media.emoji?
Section titled “poll_media.emoji?”
optionalemoji?:APIPartialEmoji
poll_media.text?
Section titled “poll_media.text?”
optionaltext?:string
expiry
Section titled “expiry”expiry:
string|null
Defined in: packages/types/src/index.ts:424
layout_type
Section titled “layout_type”layout_type:
number
Defined in: packages/types/src/index.ts:426
question
Section titled “question”question:
object
Defined in: packages/types/src/index.ts:419
emoji?
Section titled “emoji?”
optionalemoji?:APIPartialEmoji
optionaltext?:string
results?
Section titled “results?”
optionalresults?:object
Defined in: packages/types/src/index.ts:427
answer_counts
Section titled “answer_counts”answer_counts:
object[]
is_finalized
Section titled “is_finalized”is_finalized:
boolean