SendMessageParams constructor

const SendMessageParams({
  1. required String conversationId,
  2. required String content,
  3. MessageType type = MessageType.text,
  4. String? replyToId,
  5. List<PendingAttachment>? attachments,
  6. String? nonce,
  7. Map<String, dynamic>? extra,
})

Implementation

const SendMessageParams({
  required this.conversationId,
  required this.content,
  this.type = MessageType.text,
  this.replyToId,
  this.attachments,
  this.nonce,
  this.extra,
});