Skip to main content

MessagesEventHandler

Namespace: Wisej.AI

Assembly: Wisej.AI

Represents the method that will handle message-related events for the SmartSession object.

public delegate void MessagesEventHandler(Object sender, MessagesEventArgs e)

Parameters​

NameTypeDescription
senderObjectThe source of the event.
eMessagesEventArgsA MessagesEventArgs that contains the event data.

Fired By​

NameDescription
SmartObject.BeforeSendRequestOccurs before a request is sent.
SmartObject.AfterResponseReceivedOccurs after a response is received.
SmartObject.PrepareMessagesOccurs after the messages have been prepared and before they are send to the AI.