searchOfCompanyConversationsAsPagingSource

fun searchOfCompanyConversationsAsPagingSource(    context: Context,     searchKey: String,     withAttachment: Boolean = false,     ascOrder: Boolean = false): PagingSource<Int, STWConversation>

Call this method to search for a list of company conversations by content.

Return

The result of conversation list as PagingSource

Parameters

context

The application context

searchKey

The content to be searched

withAttachment

The content to be searched is an attachment or not. if TRUE : return company conversations with attachment file. if FALSE : return company conversations.

ascOrder

false Whether the list is ordered ascending or descending