RESTPostAPIChannelMessageJSONBody
Index
Properties
optionalallowed_mentions
Allowed mentions for a message
See https://discord.com/developers/docs/resources/channel#allowed-mentions-object
optionalattachments
Attachment objects with filename and description
optionalcomponents
The components to include with the message
See https://discord.com/developers/docs/interactions/message-components#component-object
optionalcontent
The message contents (up to 2000 characters)
optionalembed
Embedded rich
content
See https://discord.com/developers/docs/resources/channel#embed-object
optionalembeds
Embedded rich
content (up to 6000 characters)
See https://discord.com/developers/docs/resources/channel#embed-object
optionalenforce_nonce
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.
optionalflags
Message flags combined as a bitfield
optionalmessage_reference
Include to make your message a reply or a forward
optionalnonce
A nonce that can be used for optimistic message sending
optionalpoll
A poll!
optionalsticker_ids
IDs of up to 3 stickers in the server to send in the message
See https://discord.com/developers/docs/resources/sticker#sticker-object
optionaltts
true
if this is a TTS message
https://discord.com/developers/docs/resources/channel#create-message