MessageBuilder constructor

MessageBuilder({
  1. String? content = '',
  2. AllowedMentions? allowedMentions,
  3. List<AttachmentMetadataBuilder>? attachments,
  4. List<EmbedBuilder>? embeds,
  5. List<AttachmentBuilder>? files,
  6. String? nonce,
  7. ReplyBuilder? replyBuilder,
  8. bool? tts,
})

Generic constructor for MessageBuilder

Implementation

MessageBuilder({
  String? content = '',
  this.allowedMentions,
  this.attachments,
  this.embeds,
  this.files,
  this.nonce,
  this.replyBuilder,
  this.tts,
}) {
  this.content = content;
}