searchExternalConversations

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

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

Return

The result of conversation list

Parameters

context

The application context

searchKey

The content to be searched

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