InactivityPopup

Inactivity popups are presented to the user when agent or system on behalf of agent detects inactivity of the user. They are supported by a countdown which might be shown to the user and buttons to take action to stop the countdown or something else.

Note that even though it's named "popup" it doesn't need to be implemented on the UI side to reflect the name. It can be also an interactive message in chat or a banner of sorts.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Buttons associated with choices presented to the user. It can be empty, in which case the countdown can be cancelled by sending a message to the given thread.

Link copied to clipboard

Countdown associated with this component. Countdowns that end in the past are obviously expired. Buttons should be disabled if countdown is expired.

Link copied to clipboard

Optional subtitle providing additional information about the popup.

Link copied to clipboard

Texts representing different sections of the popup, every text should have its own widget (or view).

Link copied to clipboard

Title providing contextual information about the user's inactivity.