Closed stevium closed 1 year ago
Keagan (CometChat Team) replied:
Hello,
Thank you for submitting this ticket.
I have raised this with our technical team, and if no additional information is needed from your end, our team will carry out an investigation and get in touch to provide an update.
Keagan Ellis CometChat
Aditya (CometChat Team) replied:
Hi there,
Unfortunately, at the moment, it is not feasible to fetch unread conversations via the SDK. You can use the Rest APIs to achieve this. You can find more information at: https://api-explorer.cometchat.com/reference/list-all-conversations with the unread parameter set as true
Please make sure you are calling this API from your server to the CometChat server to prevent exposing the API key on the front end. I am also sharing this feature request with the product team. Thank you for sharing your insightful feedback!
Your request is now with our product team, and I assure you that it will receive thoughtful consideration. Our Product Managers regularly review suggestions like yours, and even if we're unable to respond to each one individually, please know that your input plays a vital role in our development process. While I can't offer specific timelines, we'll earnestly work to consider your request in upcoming product releases.
Should you have any more questions or concerns, please feel free to get in touch. Thank you once again!
Thanks
Aditya Gokula CometChat
Describe the problem
SDK interface is missing a support for
unread
flag inCometChat.ConversationsRequestBuilder
What was the expected behavior?
There should be a way to provide
unread
flag to theCometChat.ConversationsRequestBuilder
which should generate an endpoint URL similar to this one:Reproduction
unread
flag should be supportedCometChat.d.ts
(https://github.com/cometchat-pro/javascript-chat-sdk/blob/master/CometChat.d.ts#L2049)unread
flag to theConversationsRequestBuilder
Environment