In Web Messaging guest Api, there is information that I need to add to the outgoing messages written by the agent and coming to my socket, the structure that I expect a return from and that I need to associate. Also, instead of anonymous, I need to add the name of the person who initiated the messaging during the conversation with the agent to the agent, but this does not work either. Here is an example of the message I got back
"{
"type": "message",
"class": "StructuredMessage",
"code": 200,
"body": {
"text": "Hello",
"type": "Text",
"direction": "Outbound",
"id": "2184016b7ec6d814a647326fd058eXXX",
"channel": {
"time": "2024-10-02T12:43:42.033Z",
"type": "Private",
"from": {},
"to": {}
},
"metadata": {},
"originatingEntity": "Human"
}
}"
There is no field associated with the client.
I would be very happy if you could help.
Best regards, thekumral