Skip to main content

MessagesEventArgs

Namespace: Wisej.AI

Assembly: Wisej.AI

Provides data for events that involve a collection of messages in the SmartSession API.

public class MessagesEventArgs : EventArgs

Constructors

MessagesEventArgs(session, messages)

Initializes a new instance of the MessagesEventArgs class with the specified list of messages.

NameTypeDescription
sessionSmartSessionThe SmartSession associated with the event.
messagesIList<Message>The list of messages associated with the event.

Properties

Messages

IList<Message>: Gets the list of messages sent and received.

Session

SmartSession: Gets the session associated with the event.

Used By

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