getPagedMessagesByThreadId

fun getPagedMessagesByThreadId(    context: Context,     conversationId: Int,     ascOrder: Boolean = false): PagingSource<Int, STWBaseMessage>

Loading page of messages related to a specified conversationId.

Return

PagingSource list of messages as pagingSource

Parameters

context

The application context

conversationId

The conversation identifier

ascOrder

false Whether the list is ordered ascending or descending