@skeel/launcher
    Preparing search index...

    Interface ISkeel

    Public facade for the Skeel launcher. Accessible as window.Skeel.

    interface ISkeel {
        closeCard(): void;
        createChat(options?: CreateChatOptions): Promise<IChat>;
        getChat(options?: GetChatOptions): IChat;
        initialize(messageConfig: SendMessageRequest): void;
        openCard(messageConfig?: Partial<SendMessageRequest>): void;
        setAuthorization(token: string | undefined): void;
        setTool(tool: ChatTool): () => void;
    }
    Index
    • Close the built-in chat card. Works when the widget script is loaded with {@code data-skeel-widget="true"}.

      Returns void

    • Set the Bearer authorization token for authenticated instances.

      Parameters

      • token: string | undefined

      Returns void

    • Register a tool available on all chats. Returns a function that removes this registration.

      Parameters

      Returns () => void