v205
Chat launcher script Link
<script src="https://cdn.sentione.com/chat-ui-launcher/chat.1.32.0.js"></script>
Changes summary
In this version, we changed how conversation history works. We moved session-id management to backend, and backend via header (set-cookie
) is managing the cookie's session of the conversation. Those changes are breaking, you need to update your configuration object to have properly working webchat.
New fields in configuration object
Field name (* - required) | Type | Description | Example |
---|---|---|---|
appearance.outerStyles | object | Object to setup mostly position of webchat on host page. These styles will be injected to the host page | |
appearance.outerStyles.url | string | Url to custom stylesheet | |
appearance.outerStyles.customCss | string | Custom css rules | |
appearance.endOfConversationLabel | string | User will see this label as end of conversation message | |
appearance.startNewConversationButtonLabel | string | User will see this label in button to start new conversation | |
appearance.conversationWindowWidth | string | Field to set up width of the conversation window | {conversationWindowWidth: '300px'} |
appearance.conversationWindowHeight | string | Field to set up height of the converstion window | {conversationWindowHeight: '300px'} |
Removed fields in configuration object
Field name (* - required) | Description |
---|---|
disableConversationHistory | There is no longer 'frontend' conversation history |
conversationSessionIdCookieName | There is no longer 'frontend' conversation history |
onSessionIdChanged | There is no longer 'frontend' conversation history |
sessionId | There is no longer 'frontend' conversation history |
Live example
Updated 2 months ago