Vereb_Laszlo | 2022-06-03 12:12:10 UTC | #1
Hello. I am getting chat transcript new ConversationsApi().getConversationsChatMessages(GetConversationsChatMessagesRequest.builder().withConversationId(*conversationId*).build()). Could you help me, how can I found out, which participant sent which message in the transcript? Unfortunately the webChatMessage.getSender().getId() does not return the participant id.
Thanks
Jerome.Saint-Marc | 2022-06-17 11:56:30 UTC | #2
Hello,
- With "Get conversation" - GET /api/v2/conversations/{conversationId}:
The the senderId (for each participant) is what appears in the participant structure, in the chats array --> "id" attribute of the chat object.
- With "Get a conversation by id" - GET /api/v2/analytics/conversations/{conversationId}/details:
The senderId (for each participant) is what appears in the participant structure, in the sessions array --> "sessionId" attribute of the session object.
Regards,
system | 2022-07-04 14:11:37 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 15007