send method

Future<MessageWithCID?> send({
  1. required ChatSendOptions options,
})

Implementation

Future<MessageWithCID?> send({required ChatSendOptions options}) async {
  if (!_hasSigner) {
    throw Exception(PushAPI.ensureSignerMessage());
  }

  options.account ??= _account;
  options.signer ??= _signer;

  return PUSH_CHAT.send(options);
}