Skip to main content

PollAnswer

Documentation


Documentation / @discordeno/bot / PollAnswer

Interface: PollAnswer

Defined in: transformers/types.ts:1655

Properties​

answerId​

answerId: number

Defined in: transformers/types.ts:1662

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

The data of the answer