v190

Chat launcher script Link

<script src="https://cdn.sentione.com/chat-ui-launcher/chat.1.11.1.js"></script>

Changes

In this version, we moved the widget open/close button to a separate iframe. Thanks to this, styles of the host page will not overwrite button's styles automatically. Of course, you can pass your own styles via configuration object.

Support for silence message. You can turn on a mechanism to automatically send a custom message to bot, after a specified time, with no action from user.

Minimize buttons. Now, you can show two new buttons in header of conversation window.
Visibility of buttons are configured by configuration object, you can define which button you want to display.

New fields in configuration object

Field name (* - required)TypeDescriptionExample value
silenceMessageobject or numberOption to setup behaviour to handle missing message from a user``silenceMessage: {delayTime: 2000}, CODE_BLOCK_1 `
silenceMessage.extraDataobjectObject that will be send to bot while user is not respondingsilenceMessage: { delayTime: 2000, text: "", extraData: {"process:" :"X"} }___CODE_BLOCK_2___
actionButtons.conversationWindow.minimizebooleanShow or hide button to minimize conversation windowactionButtons: { conversationWindow: { minimize: true }, }___CODE_BLOCK_3___

Live example