ChatSendOptions constructor

ChatSendOptions({
  1. SendMessage? message,
  2. String? messageContent,
  3. String? messageType,
  4. required String recipient,
  5. String? account,
  6. String? pgpPrivateKey,
})

Implementation

ChatSendOptions(
    {this.message,
    this.messageContent,
    this.messageType,
    required this.recipient,
    this.account,
    this.pgpPrivateKey}) {
  assert(MessageType.isValidMessageType(
      message?.type ?? messageType ?? MessageType.TEXT));
}