RoomSyncTimeline

@JsonClass(generateAdapter = true)
data class RoomSyncTimeline(    @Json(name = "events") val events: List<Event>? = null,     @Json(name = "limited") val limited: Boolean = false,     @Json(name = "prev_batch") val prevToken: String? = null)

Constructors

Link copied to clipboard
fun RoomSyncTimeline(    @Json(name = "events") events: List<Event>? = null,     @Json(name = "limited") limited: Boolean = false,     @Json(name = "prev_batch") prevToken: String? = null)

Properties

Link copied to clipboard
val events: List<Event>? = null

List of events (array of Event).

Link copied to clipboard
val limited: Boolean = false

Boolean which tells whether there are more events on the server.

Link copied to clipboard
val prevToken: String? = null

If the batch was limited then this is a token that can be supplied to the server to retrieve more events.