Interface PollAnswerCount

interface PollAnswerCount {
    count: number;
    id: number;
    meVoted: boolean;
    users: string[];
}

Properties

Properties

count: number

The count for this answer.

id: number

The id of this answer in relation to answers.answerID.

meVoted: boolean

If the current user has voted for this answer.

users: string[]

The IDs of the users that voted. This will always be out of sync unless you either fetch the answer voters over REST, or if the poll was created after the bot started, and stays in the cache.