Message History Page
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)