Const
This event is fired after web chat calls "areAnyAgentsOnline" for a service desk. It will report the value returned from that call. This is particularly useful if some custom code wants to take action if no agents are online.
This event is fired after a chat with an agent has ended. This is fired after AGENT_PRE_END_CHAT but can be fired both from the user leaving the chat or the agent ending the chat.
This event is fired before a chat with an agent is ended. This occurs after the user has selected "Yes" from the confirmation modal but it can also be fired if the chat is ended by the agent. Note that this is not fired if a request for an agent is cancelled. The agent:endChat event however is fired in that case.
This event is fired before web chat processes a message received from a human agent from a service desk.
This event is fired before web chat sends a message to a human agent from a service desk.
This event is fired before a message between the user and a live agent is added to session history. It allows the customer to modify the message in order to do things like remove PII from being stored by IBM watsonx Assistant.
This event is fired before a chat with a service desk has started. This occurs as soon as the user clicks the "Request agent" button and before any attempt is made to communicate with the service desk.
This event is fired after web chat processes a message received from a human agent from a service desk.
This event is fired after web chat sends a message to a human agent from a service desk.
This event is fired when the user interacts with the feedback controls on a message. This includes both the feedback buttons (thumbs up/down) as well as the details popup where the user can submit additional information.
This event is fired when the "stop streaming" button in the input field is clicked.
This file contains the type definitions for the event bus.