getCompanyConversationByRecipientNumber

open fun getCompanyConversationByRecipientNumber(@NonNull context: Context, @NonNull internationalNumber: String): ThreadItem

Call this method to retrieve the company conversation from local Database initiated with the given user (internationalNumber).

This method return only one to one conversation.

Return

The conversation represented by ThreadItem or null

Parameters

context

The application context

internationalNumber

The user international number