I have implemented the Genesys web messaging in Headless mode. When user clicking the "Start Chat" button in the web page, the system initiates the MessagingService.startConversation
command. We then monitor the MessagingService.started
event to confirm that the connection has been successfully established. Once the connection is live, the MessagingService.sendMessage
command is invoked to send a message.
If page gets reload or new tab opening, my "Start Chat" will visible. I need to avoid MessagingService.startConversation
command because we started the conversation.
Now how to determine conversation already exists ?
if page gets reload or new tab opening and how to continue the conversation ?
How to address the scenario, can any one help me for this