getConversationByGroupId

open fun getConversationByGroupId(@NonNull context: Context, @NonNull groupId: String): ThreadItem

Call this method to retrieve the conversation (group as type) represented by ThreadItem object given a groupId.

Return

The conversation represented by ThreadItem or null

Parameters

context

The application context

groupId

The group ID (the identifier related to a conversation with group as type)