Interface HistoryItem

A single interaction in the Session History.

interface HistoryItem {
    message:
        | MessageResponse<GenericItem<Record<string, unknown>>[]>
        | MessageRequest<BaseMessageInput>
        | MessageRequest<EventInput<EventInputData<string>>>;
    time: string;
}

Properties

Properties

message:
    | MessageResponse<GenericItem<Record<string, unknown>>[]>
    | MessageRequest<BaseMessageInput>
    | MessageRequest<EventInput<EventInputData<string>>>

The message represented by this history item.

time: string

Time this message occurred. ISO Format (e.g. 2020-03-15T08:59:56.952Z).

MMNEPVFCICPMFPCPTTAAATR