bothy-sdk
    Preparing search index...

    Interface SelectOptions

    Options of select.

    interface SelectOptions {
        expiresAt?: number | Date;
        maxValues?: number;
        minValues?: number;
        placeholder?: string;
        requiredCapability?: string;
        restrictedTo?: string;
        settings?: SdkSettings;
        singleUse?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    expiresAt?: number | Date

    Expiry as Unix milliseconds or a Date; the server's default applies when left out.

    maxValues?: number

    Most selected options; the server's default 1 when left out. At least 1, at least minValues and at most the number of options.

    minValues?: number

    Fewest selected options; the server's default 1 when left out.

    placeholder?: string

    Optional display text.

    requiredCapability?: string

    A capability the person needs, for example approve_actions.

    restrictedTo?: string

    any, run_starter or owner (09 11.2).

    settings?: SdkSettings

    Source of the limits (default DEFAULTS).

    singleUse?: boolean

    Whether using it disables the other single-use components of the message (09 11.3); the server's default applies when left out.