bothy-sdk
    Preparing search index...

    Interface AutocompleteRequest

    One command.autocomplete_requested event, as the handler sees it.

    interface AutocompleteRequest {
        channelId: string;
        commandId: string;
        expiresAt: number;
        option: string;
        options: readonly {}[];
        requestId: string;
        threadId: string | undefined;
        userId: string;
        value: string;
    }
    Index

    Properties

    channelId: string

    The channel.

    commandId: string

    The command.

    expiresAt: number

    The deadline of the answer, Unix milliseconds.

    option: string

    The option being typed.

    options: readonly {}[]

    The other option values so far.

    requestId: string

    The request (the answer names it).

    threadId: string | undefined

    The thread, if any.

    userId: string

    The person typing.

    value: string

    What the person typed so far.