The MessagingService.onTypingReceived event does not seem to fire

I'm using the SDK for your web messaging/messenger to build a custom UI and I'm trying to listen for the onTypingReceived event but it doesn't seem to get fired. I know this activity is actually happening because I can see the message in the messages list for the websocket and in your UI, I can see the "..." appear, but no event is fired by the SDK. Maybe the docs have the wrong name?

I've added the following code to a simple HTML page with the embed code for my widget. The messageReceived event fires and I get a console log for it, but the onTypingReceived does not.

Genesys("subscribe", "MessagingService.messagesReceived", (event) => {
  console.log('[custom] MessagingService.messagesReceived', event);
});

Genesys("subscribe", "MessagingService.onTypingReceived", (event) => {
  console.log('[custom] MessagingService.onTypingReceived', event);
});

Hi @dlundin, apologize for the inconvenience. You are correct, the following event names are incorrect in our documentation. We are in the process of correcting it. Thanks for pointing it out. Please refer to the below correct event names.

Incorrect event names:
MessagingService.onTypingReceived
MessagingService.onTypingTimeout
MessagingService.onTypingStarted

Correct event names:
MessagingService.typingReceived
MessagingService.typingTimeout
MessagingService.clientTypingStarted

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