InactivityPopup

An popup that is used to display an inactivity prompt to user in the chat. This popup can be sent by the automation on server when the user has been inactive for a certain period of time.

In some cases it can also be sent by the agent to trigger user response or to end the conversation. It contains a countdown timer and buttons to either refresh the chat or expire the current conversation.

Types

Link copied to clipboard
interface Countdown

Parameters for the countdown timer.

Properties

Link copied to clipboard
abstract val body: String

The main text of the inactivity popup message, it should explain the reason for the popup.

Link copied to clipboard
abstract val callToAction: String

Additional text which describes what the user should do next.

Link copied to clipboard

Parameters for the countdown timer of the inactivity popup.

Link copied to clipboard
abstract val sessionExpire: Action

Action that will expire the current conversation and end the chat session.

Link copied to clipboard
abstract val sessionRefresh: Action

Action that will refresh the chat and reset the inactivity timer.

Link copied to clipboard
abstract val title: String

The title of the inactivity popup message.