UserMessageCreateBuilder
Message builder for creating messages as a bot user.
Properties
The mentions in the message that are allowed to trigger a ping.
The attachment objects with filename and description.
The components to include with the message.
Up to 10 embeds (up to 6000 characters).
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.
Whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message, defaults to true
.
The files to include as attachments.
Optional custom MessageFlags to add to the message created.
The id of the message being replied to.
The IDs of up to three stickers to send in the message.
Do not include any embeds when serializing this message.
This message will not trigger push and desktop notifications.
Functions
Adds an action row configured by the builder to the components of the message.
Adds a file with name and contentProvider to files.
Adds a file with name and contentProvider to files.
Configures the mentions in the message that are allowed to trigger a ping.
Sets the flags for the message.
Add a stickerId to stickerIds.