dlundin | 2023-01-25 21:59:48 UTC | #1
I'm looking at the documentation for MessagingService.messagesReceived (https://developer.genesys.cloud/commdigital/digital/webmessaging/messengersdk/SDKCommandsEvents/messagingServicePlugin#messagingservice-messagesreceived) and I'm wondering if there is any additional information about what is contained in the message here. This basically just says "{} // message object" which doesn't tell me anything about what I can expect in the message object. Are there any more details anywhere?
Angelo_Cicchitto | 2023-01-26 07:51:15 UTC | #2
The easiest would be to run the example from that link within your browser console, so that you will see the resulting object in browser logs upon each outbound message received.
Genesys("subscribe", "MessagingService.messagesReceived", function({ data }) { console.log(data); });
The structure is derived from the underlying Guest API Message Structure, but we'll update documentation for clarity.
system | 2023-02-25 07:52:02 UTC | #3
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: 18143