MessageBuilder constructor
MessageBuilder({
- String? content = '',
- AllowedMentions? allowedMentions,
- List<
AttachmentMetadataBuilder> ? attachments, - List<
EmbedBuilder> ? embeds, - List<
AttachmentBuilder> ? files, - String? nonce,
- ReplyBuilder? replyBuilder,
- 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;
}