loadNext

fun <T : BaseChannel> BaseMessageCollection<T>.loadNext(handler: ResultHandler<List<BaseMessage>>)

Loads next (latest direction) message lists.

Since

4.15.0

Parameters

handler

ResultHandler to receive the message list.


suspend fun <T : BaseChannel> BaseMessageCollection<T>.loadNext(): List<BaseMessage>

Deprecated

As of 4.17.0, replaced with awaitLoadNext().

Replace with

awaitLoadNext()

Loads next (latest direction) message lists.

Return

The message list to the latest direction.

Since

4.15.0