getConversationListForRecipientGroupId

open fun getConversationListForRecipientGroupId(@NonNull context: Context, @NonNull groupId: String): List<ThreadItem>

Call this method to retrieve all related conversations for a given groupId. Means all conversation with only the given groupId as a recipient.

This method should be executed in a worker thread since it contains a lot of operation that can exceed 5sec or block the UI thread.

Return

Conversation list or null

See also

Parameters

context

The application context

groupId

The group ID