Chat class

Constructors

Chat({Signer? signer, required String account, String? decryptedPgpPvtKey, String? pgpPublicKey, required void progressHook(ProgressHookType)?})

Properties

group ↔ GroupAPI
latefinal
hashCode int
The hash code for this object.
no setterinherited
progressHook ↔ void Function(ProgressHookType)?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

accept({required String target}) Future<String?>
block({required List<String> users}) Future<User?>
decrypt({required List<Message> messagePayloads}) Future<List<Message>>
history({required String target, String? reference, int limit = FetchLimit.DEFAULT}) Future<List<Message>?>
latest({required String target}) Future<Message?>
list({required ChatListType type, int page = 1, int limit = 10, String? overrideAccount}) Future<List<Feeds>?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reject({required String target}) Future<String?>
send({required ChatSendOptions options}) Future<MessageWithCID?>
toString() String
A string representation of this object.
inherited
unblock({required List<String> users}) Future<User?>

Operators

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