Timeline

data class Timeline(val items: List<TimelineItem> = emptyList(), val hasMore: Boolean = false, val lastSeq: Int = 0, val oldestSeq: Int = 0)

The loaded window of a conversation.

Constructors

Link copied to clipboard
constructor(items: List<TimelineItem> = emptyList(), hasMore: Boolean = false, lastSeq: Int = 0, oldestSeq: Int = 0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val hasMore: Boolean = false

Older items exist before oldestSeq.

Link copied to clipboard

Items in display order (oldest first).

Link copied to clipboard
val lastSeq: Int = 0

Highest seq of a server item (local rows do not count).

Link copied to clipboard
val oldestSeq: Int = 0

Lowest seq of a server item (0 when none).