EndedReason

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

Link copied to clipboard

The chat ended for an unknown or unexpected reason.

Link copied to clipboard

The chat was ended by an agent or operator.

Link copied to clipboard

The chat was ended by the user (visitor) while the session was still active.

Link copied to clipboard

The chat was disconnected.

Link copied to clipboard

The connection was closed because the maximum number of simultaneous open sessions was exceeded.

Link copied to clipboard

The connection was closed following a successful logout from an authenticated session.

Link copied to clipboard

The connection was closed as a result of calling clear conversation on the chat controller.

Link copied to clipboard

The chat was terminated by the hosting application.

Link copied to clipboard

The session ended due to inactivity timeout.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.