ChatMessagesManager class

Properties

chatMessagesStream Stream<CubeMessage>
no setter
connection → Connection
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptMessage(MessageStanza messageStanza) bool
closeStreams() → void
destroy() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendDeliveredStatus(CubeMessage cubeMessage) Future<void>
Informs the sender that message was delivered cubeMessage - the original message, it should contain next required fields: 'senderId', 'messageId', 'dialogId'
sendReadStatus(CubeMessage cubeMessage) Future<void>
Informs the sender that message was read cubeMessage - the original message, it should contain next required fields: 'senderId', 'messageId', 'dialogId'
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getInstance(Connection connection) → dynamic