Methods
This section describes the methods available on the WebChat SDK
Initialise
/**
* Initialise the chat widget with settings and custom components
* @function init
* @param {Object} [settings={}] - settings object (optional)
* @param {Array} [customComponents=[]] - array of custom components (optional)
* @param {?string} [userId] - uuid for the user (optional)
*/
.init(settings, customComponents, userId)Destroy
Refresh
Restart
Open
Close
Send Message
Last updated