Optional
allowedOptional
attachmentsAn array of partial attachments related to the sent files.
Optional
avatarURLThe url of an avatar to use.
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
pollA poll to send. Messages with a poll cannot be edited.
As of 4/18/24, attachments
cannot be sent with polls.
Optional
threadIDThe id of the thread to send the message to.
Optional
threadThe name of the thread to create (forum channels).
Optional
ttsIf the message should be spoken aloud.
Optional
usernameThe username to use.
Optional
waitIf the created message should be returned.
An object that specifies the allowed mentions in this message.