We provide some API to control the user interface and functionality of webchat.
$sinitic.api(command, [, arg1[, arg2[, ...]]])
Parameters:
Display the chat window
Arguments: none
Minimize the chat window
Arguments: none
Switch between displaying or minimizing the chat window.
Arguments: none
Arguments:
We support the following display language:
Language |
langCode |
English |
|
Traditional Chinese |
|
Simplified Chinese |
|
Japanese |
|
Vietmanese |
|
Indoesian |
|
Thai |
|
Arguments:
Record current page into browsing history. Agent can see the history in ChatCenter.
Arguments: none
Trigger a specific dialogue flow.
Arguments: