Interface IWaldiezMessage

Waldiez Message.

A generic message with a type and content.

If the type is not 'none', the content is a string. If the type is 'method', the content is the code of a method.

The type of the message

The content of the message

interface IWaldiezMessage {
    content: null | string;
    context: { [key: string]: string };
    type: WaldiezMessageType;
    use_carryover: boolean;
}

Implemented by

Properties

content: null | string
context: { [key: string]: string }
use_carryover: boolean