Chat constructor
Chat({})
Implementation
Chat({
Signer? signer,
required String account,
String? decryptedPgpPvtKey,
String? pgpPublicKey,
required this.progressHook,
}) {
_signer = signer;
_account = account;
_decryptedPgpPvtKey = decryptedPgpPvtKey;
_userAPI = UserAPI(account: account);
group = GroupAPI(
account: account,
progressHook: progressHook,
decryptedPgpPvtKey: _decryptedPgpPvtKey,
pgpPublicKey: pgpPublicKey,
signer: _signer);
}