@typed-discord/rest
    Preparing search index...

    Interface PollResponse

    interface PollResponse {
        allow_multiselect: boolean;
        answers: PollAnswerResponse[];
        expiry: string;
        layout_type: DEFAULT;
        question: PollMediaResponse;
        results: PollResultsResponse;
    }
    Index

    Properties

    allow_multiselect: boolean

    Whether a user can select multiple answers

    Each of the answers available in the poll

    expiry: string

    The time when the poll ends

    layout_type: DEFAULT

    The layout type of the poll

    The question of the poll. Only text is supported.

    The results of the poll