getGroupsInConversation

open fun getGroupsInConversation(@NonNull context: Context, @Nullable conversationId: String): List<ContactItem>

Call this method to retrieve recipient groups in the given conversation.

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

The recipient groups inside the given conversation

Parameters

context

The application context

conversationId

The conversation ID