RESTPostAPIChannelMessageJSONBody
Index
Properties
optionalallowed_mentions
Allowed mentions for a message
optionalattachments
Attachment objects with filename and description
optionalcomponents
The components to include with the message
optionalcontent
The message contents (up to 2000 characters)
optionalembed
Embedded rich
content
optionalembeds
Embedded rich
content (up to 6000 characters)
optionalflags
Message flags combined as a bitfield
optionalmessage_reference
Include to make your message a reply
optionalnonce
A nonce that can be used for optimistic message sending
optionalsticker_ids
IDs of up to 3 stickers in the server to send in the message
optionaltts
true
if this is a TTS message
https://discord.com/developers/docs/resources/channel#create-message
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.