getMessagesBefore

abstract fun getMessagesBefore(index: Long, count: Int, listener: CallbackListener<List<Message>>)

Fetch at most count messages including and prior to the specified index.

Parameters

index

start index

count

count of messages to load

listener

operation callback listener

Throws

If conversation isn't synchronized properly.