The Dixa chat widget has a javascript API that allows you to control language, close/open view, change widget text and sign in a user.

You can test the API by opening the javascript console eg. in Chrome dev tools. The API uses the global

https://gist.github.com/ktabori/318b6a9c2929310da61bbaee9dfa1164.js