Context: I created a script for my chat box that has a timer and once the timer has been reached it will send a “session expired” message on the chat box. Timer only starts once the user has send a message in the chat.
Goal: The goal is to disable that chat box and make the user start a new chat once the message appears.
Are you able to share more details?
Is this using Wix Chat or a third-party Chatbox? Are you able to share the code you’re currently trying to use to achieve this?
You can see in my code I set the timer to 5 seconds, that’s just for testing purposes. I am trying to make sure that the timer doesn’t start until the user sends a message and if they are inactive or don’t message again within the time limit, a message appears and makes them open up a new chat. I am using WixChat for this, and looking at the properties that I can use for their “ChatBox” is pretty limited. I might not just be looking at the correct one.