Interface QuestionResponseContent

interface QuestionResponseContent {
    handler: QuestionResponseHandler;
    kind: "question";
    options: {
        text: string;
        value?: string;
    }[];
    question: string;
    request: ChatRequestModelImpl;
    selectedOption?: {
        text: string;
        value?: string;
    };
    asString?(): undefined | string;
    merge?(nextChatResponseContent): boolean;
}

Hierarchy (view full)

Implemented by

Properties

kind: "question"
options: {
    text: string;
    value?: string;
}[]

Type declaration

  • text: string
  • Optional value?: string
question: string
selectedOption?: {
    text: string;
    value?: string;
}

Type declaration

  • text: string
  • Optional value?: string

Methods