Skip to main content

DiscordPollAnswer

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordPollAnswer

Interface: DiscordPollAnswer

https://discord.com/developers/docs/resources/poll#poll-answer-object

Properties

answer_id

answer_id: number

The id of the answer

Remarks

This id labels each answer. It starts at 1 and goes up sequentially. Discord recommend against depending on this value as is a implementation detail.

Defined in

packages/types/dist/types/discord.d.ts:1466


poll_media

poll_media: DiscordPollMedia

The data of the answer

Defined in

packages/types/dist/types/discord.d.ts:1468