We're using the Zendesk Chat API to pull data for historical chats following this documentation:
We noticed that for the individual message objects in the `history` field, there is no "sender type" field specified (i.e. did the agent or visitor send this message?) beyond the `name` of the sender. This becomes an issue when the agent and visitor both have the same name set (e.g. both set their display name to "Bob"): we can't distinguish who sent each message in this case.
We noticed that the `msg_id` field is set on the message object for visitor-sent messages, but we couldn't find any documentation on whether this would be consistent and reliable for us to use to distinguish the "sender type".
Can you add a "sender type" to the messages in the `history` field of the API format? Or can you confirm that `msg_id` is a valid way to distinguish the sender type? We think that the API is ambiguous/incomplete as is and it affects our ability to build products for our users from their chat history.
Vous devez vous connecter pour laisser un commentaire.