ultra-telegram-framework
    Preparing search index...

    Interface PollAnswer

    This object represents an answer of a user in a non-anonymous poll.

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

    Properties

    option_ids: number[]

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

    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

    Optional. The user that changed the answer to the poll, if the voter isn't anonymous

    voter_chat?: Chat

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