Interface CommandChatResponseContent

A command chat response content represents a command that is offered to the user for execution. It either refers to an already registered Theia command or provides a custom callback. If both are given, the custom callback will be preferred.

interface CommandChatResponseContent {
    arguments?: unknown[];
    command?: Command;
    customCallback?: CustomCallback;
    kind: "command";
    asString?(): undefined | string;
    merge?(nextChatResponseContent): boolean;
}

Hierarchy (view full)

Implemented by

Properties

arguments?: unknown[]
command?: Command
customCallback?: CustomCallback
kind: "command"

Methods