MessageBuilder class

Inheritance

Constructors

MessageBuilder({String? content, dynamic nonce, bool? tts, List<EmbedBuilder>? embeds, AllowedMentions? allowedMentions, Snowflake? replyId, bool? requireReplyToExist, List<ActionRowBuilder>? components, List<Snowflake>? stickerIds, List<AttachmentBuilder>? attachments, bool? suppressEmbeds, bool? suppressNotifications, bool? enforceNonce})

Properties

allowedMentions AllowedMentions?
getter/setter pair
attachments List<AttachmentBuilder>?
getter/setter pair
components List<ActionRowBuilder>?
getter/setter pair
content String?
getter/setter pair
embeds List<EmbedBuilder>?
getter/setter pair
enforceNonce bool?
If true and nonce is present, it will be checked for uniqueness in the past few minutes. If another message was created by the same author with the same nonce, that message will be returned and no new message will be created.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
nonce ↔ dynamic
getter/setter pair
replyId Snowflake?
getter/setter pair
requireReplyToExist bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stickerIds List<Snowflake>?
getter/setter pair
suppressEmbeds bool?
getter/setter pair
suppressNotifications bool?
getter/setter pair
tts bool?
getter/setter pair

Methods

build() Map<String, Object?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited