I need to delete the message history through the Tidio API, in its documentation there is not much information
Link: https://docs.tidio.com/docs/other_methods
Where can I find more details of the methods available to do this, is this possible via the API?
With this code you can show the chat window:
function() {
function onTidioChatApiReady() {
window.tidioChatApi.hide();
window.tidioChatApi.on("close", function() {
window.tidioChatApi.hide();
});
}
if (window.tidioChatApi) {
window.tidioChatApi.on("ready", onTidioChatApiReady);
} else {
document.addEventListener("tidioChat-ready", onTidioChatApiReady);
}
window.addEventListener('load', (event) => {
window.tidioChatApi.show();
window.tidioChatApi.open();
});
})();