MessageHistoryPage

data class MessageHistoryPage(var messages: List<Message>, var firstPosition: MessageHistoryPosition?, var lastPosition: MessageHistoryPosition?, var hasMore: Boolean, var skippedCount: UInt)

A chronological Published page and the raw prefix it consumed. First and last positions follow the requested output direction. Empty messages can still have consumed positions and more history.

Constructors

Link copied to clipboard
constructor(messages: List<Message>, firstPosition: MessageHistoryPosition?, lastPosition: MessageHistoryPosition?, hasMore: Boolean, skippedCount: UInt)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

First consumed raw key, including when its message cannot be converted.

Link copied to clipboard

One more eligible key exists. Its base body is not loaded or consumed.

Link copied to clipboard

Last consumed raw key. Use it for the next page in the same direction.

Link copied to clipboard

Readable messages in sent-time and local-delivery order.

Link copied to clipboard

Consumed raw rows minus converted messages.