get Number Of Messages In Conversation
open fun getNumberOfMessagesInConversation(@NonNull context: Context, @NonNull conversationId: String): Int
Content copied to clipboard
Call this method to retrieve the total number of messages (except draft messages) in a conversation from local Database given conversationId.
Return
Number of messages in a conversation
Parameters
context
The application context
conversation Id
The conversation ID