User Message Create Builder
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).
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.
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 an Action Row to the message, configured by the builder. A message can have up to 5 action rows.
Adds a file with name and contentProvider to files.
Adds a file with name and contentProvider to files.
Adds a file with the given path to the attachments.
Configures the mentions in the message that are allowed to trigger a ping.
Configures the mentions that should trigger a mention (aka ping). Not calling this function will result in the default behavior (ping everything), calling this function but not configuring it before the request is build will result in all pings being ignored.
Adds an embed to the message, configured by the block. A message can have up to 10 embeds.
Sets the flags for the message.
Sets the MessageFlags for the created message.
Add a stickerId to stickerIds.