Chat launcher script Link
In this version, we changed how conversation history works.
We also add few option to pass functions which webchat will call in specific situation (for example "end of conversation).
New fields in configuration object
|Field name (* - required)||Type||Description||Example value|
|conversationSessionIdCookieName||string||Field to customize name of Cookie for conversation history. The cookie is saved on the host domain.|
Field is optional, default name of the cookie is:
|onSessionIdChanged||function (newSessionId: string)||Callback function - Webchat can change conversation session id (after click X button from header of the webchat). In this case, webchat will generate new sessionId and call this callback to pass new session id to host page.||new option|
Updated 5 months ago