MessageBasicApi class

Constructors

MessageBasicApi(String _sdkId)

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

deleteMessage(Message message) Future<DocIdentifier>
deleteMessageById(String entityId, String rev) Future<DocIdentifier>
deleteMessages(List<Message> messages) Future<List<DocIdentifier>>
deleteMessagesByIds(List<IdWithMandatoryRev> entityIds) Future<List<DocIdentifier>>
filterMessagesBy(BaseFilterOptions<Message> filter) Future<PaginatedListIterator<EncryptedMessage>>
filterMessagesBySorted(BaseSortableFilterOptions<Message> filter) Future<PaginatedListIterator<EncryptedMessage>>
getMessage(String entityId) Future<EncryptedMessage>
getMessages(List<String> entityIds) Future<List<EncryptedMessage>>
matchMessagesBy(BaseFilterOptions<Message> filter) Future<List<String>>
matchMessagesBySorted(BaseSortableFilterOptions<Message> filter) Future<List<String>>
modifyMessage(EncryptedMessage entity) Future<EncryptedMessage>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeMessage(Message message) Future<void>
purgeMessageById(String id, String rev) Future<void>
setMessagesReadStatus(List<String> entityIds, int? time, bool readStatus, String? userId) Future<List<EncryptedMessage>>
subscribeToEvents(Set<SubscriptionEventType> events, BaseFilterOptions<Message> filter, {EntitySubscriptionConfiguration? subscriptionConfig}) Future<EntitySubscription<EncryptedMessage>>
toString() String
A string representation of this object.
inherited
undeleteMessage(Message message) Future<Message>
undeleteMessageById(String id, String rev) Future<EncryptedMessage>

Operators

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