TimelineStream class

Timeline with Room Events

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

drop() → void
Manually drops the object and unregisters the FinalizableHandle.
editMessage(String eventId, MsgDraft draft) Future<bool>
modify message using draft
getMessage(String eventId) Future<RoomMessage>
get the specific message identified by the event_id
markAsRead(bool userTriggered) Future<bool>
Mark this room as read. user_triggered indicate whether that was issued by the user actively (e.g. by pushing a button) or implicitly upon smart read tracking Returns a boolean indicating if we sent the request or not.
messagesStream() Stream<RoomMessageDiff>
Fires whenever new diff found
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paginateBackwards(int count) Future<bool>
Get the next count messages backwards, and return whether it reached the end
replyMessage(String eventId, MsgDraft draft) Future<bool>
send reply to event
sendMessage(MsgDraft draft) Future<bool>
send message using draft
sendMultipleReceipts(String? fullRead, String? publicReadReceipt, String? privateReadReceipt) Future<bool>
send 3 types of receipts at once full_read: optional event id public_read_receipt: optional event id private_read_receipt: optional event id
sendSingleReceipt(String receiptType, String thread, String eventId) Future<bool>
send single receipt receipt_type: FullyRead | Read | ReadPrivate thread: Main | Unthreaded
toggleReaction(String eventId, String key) Future<bool>
send reaction to event if sent twice, reaction is redacted
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited