ChatActionHandler

Handler allowing to listen to popups whenever they are available. You are encouraged to create this instance as soon as possible. It immediately after being created starts to listen to the popup events and keeps the latest one until it's observed.

Types

Link copied to clipboard
fun interface OnPopupActionListener

Listens for requests to show a popup from proactive message action.

Functions

Link copied to clipboard
abstract override fun close()

Removes listeners and releases internal server listener. After calling this method, this instance is dead and its features are undefined in that case.

Link copied to clipboard

Subscribes the client to the listener. The listener may be invoked immediately if there's a waiting popup, otherwise waits for any popup events from the server.