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

    Interface PollAnswer

    interface PollAnswer {
        option_ids: number[];
        option_persistent_ids: string[];
        poll_id: string;
        user?: User;
        voter_chat?: Chat;
    }
    Index
    option_ids: number[]

    0-based identifiers of chosen answer options. May be empty if the user retracted their vote.

    option_persistent_ids: string[]

    Persistent identifiers of the chosen answer options. May be empty if the vote was retracted.

    poll_id: string

    Unique poll identifier.

    user?: User

    The user, who changed the answer to the poll, if the voter is not anonymous.

    voter_chat?: Chat

    The chat that changed the answer to the poll, if the voter is anonymous.