Set contextual data of the chat.
If the function is called when the chat is loaded data will be sent immediately, otherwise they will be sent to the chat once it is loaded.
Every function invocation will overwrite the previous contextual data.
See ChatViewEvent.chatLoaded to detect if chat is loaded.
Parameter data in JSON string format
Parameter allMultiThreadStrategy multithread strategy flag, true -> ALL, false -> ACTIVE
Sets the chat exception handler in case you want to intercept and
display the errors coming from the chat on your own (instead of relying on the prebuild error banners).
Set the theme of the Livechat Widget.
You can define widget themes in https://portal.infobip.com/apps/livechat/widgets(Live chat widget setup page) in Infobip Portal, section Advanced customization.
Please check widget https://www.infobip.com/docs/live-chat/widget-customization for more details.
Navigates chat from THREAD back to THREAD_LIST destination in multithread chat.
It does nothing if widget is not multithread.
All multi-thread chat destinations:
LOADING, THREAD_LIST, LOADING_THREAD, THREAD, CLOSED_THREAD, SINGLE_MODE_THREAD