Interface BusEventUserDefinedResponse

interface BusEventUserDefinedResponse {
    data: {
        element?: HTMLElement;
        fullMessage: Message;
        fullWidth?: boolean;
        message: GenericItem;
        slot?: string;
    };
    type: USER_DEFINED_RESPONSE;
}

Hierarchy (View Summary, Expand)

Properties

Properties

data: {
    element?: HTMLElement;
    fullMessage: Message;
    fullWidth?: boolean;
    message: GenericItem;
    slot?: string;
}

Type declaration

  • Optionalelement?: HTMLElement

    The element to which customers can add the custom code to render for the custom response.

  • fullMessage: Message

    The full message (response or request) that contains the message item.

  • OptionalfullWidth?: boolean

    An assignable property that the event listener can assign that will indicate if the response is supposed to be full width.

  • message: GenericItem

    The individual message item that is being displayed in this custom response.

  • Optionalslot?: string

    The slot name for users of the web components cds-aichat-container or cds-aichat-custom-element.

The type of this event.

MMNEPVFCICPMFPCPTTAAATR