Ended Reason
The reason a chat session ended.
This value is delivered as the StateEvent.data payload when the chat transitions to StateEvent.Ended or StateEvent.Closed. Most integrators read it on StateEvent.Closed (the terminal state); StateEvent.Ended also carries it in cases such as a force-close, an idle timeout, or a recoverable disconnect.
Entries
The chat was disconnected.
The connection was closed because the maximum number of simultaneous open sessions was exceeded.
The connection was closed as a result of calling clear conversation on the chat controller.
The session ended due to inactivity timeout.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.