hi guys I currently have code to open the chatbot automatically when the website loads, how could I add a timer so that it opens after 45 seconds. Here is the code I have:
window.botpressWebChat.onEvent(
function () {
window.botpressWebChat.sendEvent({ type: "show" });
},
["LIFECYCLE.LOADED"]
);