InactivityPopup

public interface InactivityPopup implements Popup

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
public interface Countdown

Parameters for the countdown timer.

Functions

Link copied to clipboard
public abstract String getBody()

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

Link copied to clipboard
public abstract String getCallToAction()

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
public abstract Action getSessionExpire()

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

Link copied to clipboard
public abstract Action getSessionRefresh()

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

Link copied to clipboard
public abstract String getTitle()

The title of the inactivity popup message.