Optional allowedOptional attachmentsAn array of partial attachments related to the sent files.
Optional componentsAn array of components to send. snake_case keys should be converted to camelCase, or passed through Util#rawMessageComponents. Note that the Contents~MessageFlags.IS_COMPONENTS_V2 | IS_COMPONENTS_V2 flag must be provided to use any of the v2 components, and with this enabled content, embeds, and stickerIDs cannot be used.
Optional contentThe content of the message.
Optional embedsAn array of embeds to send. snake_case keys should be converted to camelCase, or passed through Util#rawEmbeds.
Optional enforceIf Discord should enforce the unique nonce. This prevents duplicate messages being sent within a few minutes.
Optional filesThe files to send.
Optional flagsThe Message Flags to send with the message.
Optional messageReply to a message.
Optional nonceA unique number or string used to dedupe this message. enforceNonce must be set to true for Discord to dedupe message sends.
Optional pollA poll to send. Messages with a poll cannot be edited.
As of 4/18/24, attachments cannot be sent with polls.
Optional stickerIDsThe IDs of up to 3 stickers from the current guild to send.
Optional ttsIf the message should be spoken aloud.
An object that specifies the allowed mentions in this message.