Web messaging - command to scroll the chat content window to the bottom?

Hi,

I'm implementing Web Messaging for a customer and they want Auto start. When I turn on Auto-start, everything works fine until you navigate away from the web messaging page or the page re-loads on a mobile phone.

What I found was that when you set auto-start, Genesys web messaging window does "NOT" reload the chat history, causing quite a lot of issues.

As such, I've added below code to force the history to be loaded at the beginning.

	Genesys("subscribe", "MessagingService.started", function({data}){
	  	if ( !data.newsession ) {
				Genesys("command", "MessagingService.fetchHistory"); 
			}
			});

But now the problem is that after the history is loaded, the chat history area is at the "top" of the messages, showing the oldest messages.

Is there a message that will cause chat history to go to the bottom?

Thanks,
Taisuk

Hi @Taisuk_Choi the fetching and loading of history across page views should be independent from Auto-Start: please raise a ticket with care if you notice this again.

Thanks. I resolved it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.