Live Chat Widget Callback Function
This documentation provides a flexible set of methods that can be used in your web projects. To invoke one of the methods below, please be sure to call a method after the embed code on your page.
Use this callback functions to manipulate the chat widget displayed on your website.

This callback functions triggered every time the user create a new case
<script>
tapliveCallback.tapliveOnCreateCase = (caseModel, fullname, email, url) => {
// your action here
}
</script>

CaseModel: (caseModel) data related to case. fullname: (String) full name of the user. email: (String) email of the user. url: (String) the page url when user access the live chat widget.

This callback functions triggered every time the user send a message
<script>
tapliveCallback.tapliveOnSendMessage = (message, fullname, email, url) => {
// your action here
}
</script>

message: (messageModel) data related to message. fullname: (String) full name of the user. email: (String) email of the user. url: (String) the page url when user access the live chat widget.
This documentation provides a flexible set of methods that can be used in your web projects. To invoke one of the methods below, please be sure to call a method after the embed code on your page.
Use this callback functions to manipulate the chat widget displayed on your website.

This functions returnn boolean if session is available or not
<script>
TapTalkLive.tapliveIsAuthenticated();
</script>

This functions is use to set visibility of the launcher widget
<script>
TapTalkLive.setVisible(boolean);
</script>

This functions is use to request taplive access token
<script>
TapTalkLive.tapliveRequestAccessToken(key, () => {
//do action here
});
</script>

This functions is use to hide taplive watermark
<script>
TapTalkLive.setHideTaplivePower();
</script>

This functions is use to logging out launcher widget
<script>
TapTalkLive.launcherLogout(() => {
//do action here
});
</script>
Copy link
On this page
OnCreateCase
OnSendMessage
TapliveIsAuthenticated
SetVisible
TapliveRequestAccessToken
SetHideTaplivePower
LauncherLogout