Closed ydakuka closed 1 year ago
Hello there, can you please elaborate?
@eliottvincent it must be implemented on your side.
I still don't understand :)
@eliottvincent GET /v1/website/{website_id}/conversation/{session_id}
request contains a lot of messages which I can get through GET /v1/website/{website_id}/conversation/{session_id}/messages
request (with page_size = 20). I need to know how many messages exist?
You can't know in advance the number of messages. When calling /messages
:
/messages
request)You can see examples in our API ref: https://docs.crisp.chat/references/rest-api/v1/#get-messages-in-conversation
You can't know in advance the number of messages. When calling /messages:
Yes, you're right, but I want to know the number of messages when calling GET /v1/website/{website_id}/conversation/{session_id}
using new useful field (e.g. total_messages
).
That is simply not possible and we have not planned to implement that, for now.
https://docs.crisp.chat/references/rest-api/v1/#get-a-conversation