loadPrevious

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

Loads previous (oldest direction) message lists.

Since

4.15.0

Parameters

handler

ResultHandler to receive the message list.


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

Deprecated

As of 4.17.0, replaced with awaitLoadPrevious().

Replace with

awaitLoadPrevious()

Loads previous (oldest direction) message lists.

Return

The message list to the oldest direction.

Since

4.15.0