Skip to main content

PollAnswer

Documentation


Documentation / @discordeno/bot / PollAnswer

Interface: PollAnswer

Defined in: transformers/types.ts:1516

Properties

answerId

answerId: number

Defined in: transformers/types.ts:1523

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 sequence as it is an implementation detail.


pollMedia

pollMedia: PollMedia

Defined in: transformers/types.ts:1525

The data of the answer