Conversation
Represents a CCAI conversation instance.
Constructor
Parameters
settings
Parameters
settings
Methods
addEventListener
Adds a handler for the specified CCAI.Events.Conversation event. Use only functions as handlers; anything except a function leads to an error and scenario termination when a handler is called.
Parameters
event
callback
addParticipant
Adds a participant to the conversation.
Parameters
settings
removeEventListener
Removes a handler for the specified CCAI.Events.Conversation event.
Parameters
event
callback
removeParticipant
Removes a participant from the conversation.
Parameters
participant