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.
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
filesThe files to send.
Optional
flagsThe flags to send with the message.
Optional
messageReply to a message.
Optional
pollA poll to send.
As of 3/22/24:
allowedMentions
. If in the future content
can be sent alongside a poll, allowedMentions will not be set automatically, and must be set manually.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.