Skip to main content

PollAnswer

Documentation


Documentation / @discordeno/bot / PollAnswer

Interface: PollAnswer

Defined in: transformers/types.ts:1654

Properties​

answerId​

answerId: number

Defined in: transformers/types.ts:1661

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:1663

The data of the answer