ConfinedChatHandler

OpenChatHandler - Chat controlling interface that can be exposed outside the module

Inheritors

Properties

Link copied to clipboard
abstract val isActive: Boolean

Chat in progress

Link copied to clipboard
abstract val isLiveChat: Boolean

Chat with agent

Functions

Link copied to clipboard

Clears the conversation history of the current session.

Link copied to clipboard
open fun destruct()

Releases all resources. The handler can't be used afterwards.

Link copied to clipboard
open fun endChat(forceClose: Boolean = false)

Ends the current chat session.

Link copied to clipboard
open fun isEnabled(name: String, default: Boolean? = null, data: Any? = null): Boolean?

Returns name enalability value if recognized.

Link copied to clipboard

Logs out from the current authenticated session.

Link copied to clipboard
abstract fun reconnectChat()

Attempts to reconnect a disconnected chat session.

Link copied to clipboard
open fun startChat(accountInfo: AccountInfo)

Starts a chat session with accountInfo.

Link copied to clipboard
abstract fun updateCustomAttributes(customAttributes: Map<String, String>)

Updates the custom attributes of the current chat session.