class PollAnswer

extends

Base
export class PollAnswer extends Base

Represents an answer to a Poll

readonly
client : Client<true>

The client that instantiated this

Inherited from: Base

readonly
emoji : GuildEmoji | Emoji | null

The emoji of this answer

id : number

The id of this answer

readonly
poll : Poll

The Poll this answer is part of

text : string | null

The text of this answer

voteCount : number

The amount of votes this answer has

Fetches the users that voted for this answer.

toJSON(
...props: Record<string, boolean | string>[]
) : unknown

Inherited from: Base

valueOf() : string

Inherited from: Base