Hey there.
I’d like to insert js to my chat widget, so it’ll jump to the bottom of the conversation when agent is sending a message, just like it does whenever visitor sends something.
I found out that you can add a code
window.Tawk_API.onChatMessageAgent = function(message) {
[code here]
};
To perform actions whenever agent is sending a new message.
Has anybody found out what js function is responsible for scroll to bottom functionality?