These docs are for v0.0.1. Click to read the latest docs for v1.0.61.

Discussions

Ask a Question
Back to All

Read out customers message on messaging channel

We use messaging channel and now Im wondering if its possible to read out the message a customer sends into the interaction through the API from a custom widget?

api.onDataEvent('onAnyInteractionEvent', function (data) {
  console.log(data);
});

That gives me the knowledge that the customer has sent something, but not the content. Is there any other method to use?