Legacy Dev Forum Posts

 View Only

Sign Up

Web Messaging - Message recieved event in Javascript

  • 1.  Web Messaging - Message recieved event in Javascript

    Posted 06-05-2025 18:36

    jonardmislang | 2022-10-11 05:15:06 UTC | #1

    Is there is an event listener for message recieve in genesys Web messaging?. Because in Webchat there is a listener to track the messages in frontend and we added this code to jaavscript.

    Gensys Webchat: plugin.subscribe("WebChatService.messageReceived", function (e) { conseole.log(messages)

    }


    Angelo_Cicchitto | 2022-10-11 07:08:49 UTC | #2

    Hi - Can you elaborate on the use-case and what you're trying to achieve?


    jonardmislang | 2022-10-11 08:06:23 UTC | #3

    Hi, we want to customize the chatbot thru frontend customization like we did on genesys webchat. Im just asking if there is an message recieve chat event on javascript where we can trace the messages from genesys.


    Angelo_Cicchitto | 2022-10-11 08:21:07 UTC | #4

    We're working on Messenger SDK improvements for headless support, and plan to publish more events soon, to help building custom messaging clients. See corresponding Idea here. Would be happy to understand what level of UI customization you are looking for, and what you're trying to solve on the client :)


    jonardmislang | 2022-10-11 08:27:47 UTC | #5

    Thank you. For now, in genesys web messaging all UI customization or even the quick replies is configured only in the genesys?


    Angelo_Cicchitto | 2022-10-11 12:30:13 UTC | #6

    For customizing the messaging client, you have two options:

    1. Rely on our native Messenger, which is configurable via Genesys Cloud Admin UI. We are continuously adding more customization features and improvements, so if you have requirements to share for good UI improvements, we're hear to listen.
    2. Build your own messaging client. You can either rely on our backend Guest APIs, or pretty soon releasing new headless JavaScript SDK, that can simplify web development.

    Quick Replies are always originating from the backend service (Bot Flows for now, we are researching Agent-initiated use-cases).


    system | 2022-11-10 12:29:50 UTC | #7

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


    This post was migrated from the old Developer Forum.

    ref: 16664