CometChat.markAsRead() is not working


CometChat.markAsRead(messageId, receiverId, receiverType) is not working now its was working before.

I want to mark the chat conversation mark as read.
I obtain the message Id of the message and pass it to the markAsRead() method.

Please any solution to that problem. Because the application in production mode and clients reporting that issue.