masto
    Preparing search index...

    Interface CreateStatusPollParam

    interface CreateStatusPollParam {
        expiresIn: number;
        hideTotals?: boolean | null;
        multiple?: boolean | null;
        options: readonly string[];
    }
    Index

    Properties

    expiresIn: number

    Duration the poll should be open, in seconds. If provided, media_ids cannot be used, and poll[options] must be provided.

    hideTotals?: boolean | null

    Hide vote counts until the poll ends?

    multiple?: boolean | null

    Allow multiple choices?

    options: readonly string[]

    Array of possible answers. If provided, media_ids cannot be used, and poll[expires_in] must be provided.