get Last Active Conversation By Group Id
open fun getLastActiveConversationByGroupId(@NonNull context: Context, @NonNull groupId: String): ThreadItem
Content copied to clipboard
Call this method to retrieve the last active conversation (one to many or group) from local Database initiated with only the given group ID.
A conversation is active as long as the user has not left.
Return
The conversation represented by ThreadItem or null
Parameters
context
The application context
group Id
The group ID.