telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface PollOption

    interface PollOption {
        added_by_chat?: Chat;
        added_by_user?: User;
        addition_date?: number;
        media?: PollMedia;
        persistent_id: string;
        text: string;
        text_entities?: MessageEntity[];
        voter_count: number;
    }
    Index
    added_by_chat?: Chat

    Chat that added the option; omitted if the option wasn't added by a chat after poll creation.

    added_by_user?: User

    User who added the option; omitted if the option wasn't added by a user after poll creation.

    addition_date?: number

    Point in time (Unix timestamp) when the option was added; omitted if the option existed in the original poll.

    media?: PollMedia

    Media added to the poll option.

    persistent_id: string

    Unique identifier of the option, persistent on option addition and deletion.

    text: string

    Option text, 1-100 characters.

    text_entities?: MessageEntity[]

    Special entities that appear in the option text.

    voter_count: number

    Number of users that voted for this option; may be 0 if unknown.