InterfacePollOption

interface PollOption {
    emojis: CustomEmoji[];
    title: string;
    votesCount?: number;
}

Properties

emojis: CustomEmoji[]

Custom emoji to be used for rendering poll options.

title: string

The text value of the poll option. String.

votesCount?: number

The number of received votes for this option. Number, or null if results are not published yet.