searchCompanyConversations

suspend fun searchCompanyConversations(    context: Context,     searchKey: String,     withAttachment: Boolean = false,     @IntRange(from = 0) from: Int,     @IntRange(from = 1) pageSize: Int,     ascOrder: Boolean = false): List<STWConversation>?

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

Return

The result of conversation list

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.

from

The offset of the first conversation starting from it will return conversation list based on pageSize. Value should be >= 0

pageSize

The max number of conversations record to be retrieved, 0 will return nothing. Value should be >= 1

ascOrder

false Whether the list is ordered ascending or descending