getConversationById

open fun getConversationById(@NonNull context: Context, @NonNull conversationId: String): ThreadItem

Call this method to retrieve the conversation represented by ThreadItem object given a conversationId.

Return

The conversation represented by ThreadItem or null

Parameters

context

The application context

conversationId

The conversation ID