Class Timeline
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.sync.Timeline
-
public class Timeline extends Object
Timeline.
-
-
Field Summary
Fields Modifier and Type Field Description private List<Event>
events
List of events.private Boolean
limited
True if the number of events returned was limited by the limit on the filter.private String
prevBatch
A token that can be supplied to the from parameter of the rooms/{roomId}/messages endpoint.
-
Constructor Summary
Constructors Constructor Description Timeline()
-
Method Summary
Modifier and Type Method Description List<Event>
getEvents()
Boolean
getLimited()
String
getPrevBatch()
void
setEvents(List<Event> events)
void
setLimited(Boolean limited)
void
setPrevBatch(String prevBatch)
-