v210
Chat launcher script Link
<script src="https://cdn.sentione.com/chat-ui-launcher/chat.1.33.0.js"></script>
Changes summary
In this version, we changed add some small changes and possibilities to configure webchat (agentAvatar). We also changed how some methods like open() close() are working.
Bugfixes
- [Webchat] Stop silence messages after end of conversation and make close() close conversation - after end of conversation, silence message is no longer triggering new conversation. Also after close conversation window (via X button from webchat header or sentiOneChat.close()) silence message mechanism is also turned off.
New fields in configuration object
Field name (* - required) | Type | Description | Example |
---|---|---|---|
appearance.agentAvatar | object | Object to configuration agent avatars. (Should be used only, when transfer conversation to agent is possible) | |
appearance.agentAvatar.src | string | Url to image | |
appearance.agentAvatar.showNearBubble | boolean | Option to set up if agentAvatar should be displayed near to message bubble |
Changes in window.sentiOneChat object
Method name | Argument | Return type | Description | |
---|---|---|---|---|
open() | void | Method to open (show) chat conversation window. | ||
close() | void | Method to close conversation window and reset current conversation (it will also turn off silence Message functionality) | ||
minimize() | void | Method to close conversation window but without closing/resting current conversation (if silence message functionality is turned on, after receive new message from bot, conversation window will open automatically) | ||
destroy() | void | Method to remove webchat from page and reset current conversation |
Updated over 1 year ago