get Oldest Unread Message Id In Conversation
open fun getOldestUnreadMessageIdInConversation(@NonNull context: Context, @NonNull conversationId: String): Int
Content copied to clipboard
Call this method to retrieve the id of the oldest unread message in the associated conversation from local Database.
Return
Id of the oldest unread message in the associated conversation or -1 in case of not existing conversationId
Parameters
context
The application context
conversation Id
The conversation id