getUsersInConversation

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

Call this method to retrieve recipient users 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 users inside the given conversation

Parameters

context

The application context

conversationId

The conversation ID