export interface RESTPostAPIChannelMessageJSONBody
See also: https://discord.com/developers/docs/resources/channel#create-message
optionalAPIAllowedMentions | undefined allowed_mentions? :
Allowed mentions for a message
See also: https://discord.com/developers/docs/resources/channel#allowed-mentions-object
optionalRESTAPIAttachment[] | undefined attachments? :
Attachment objects with filename and description
optionalAPIMessageTopLevelComponent[] | undefined components? :
The components to include with the message
See also: https://discord.com/developers/docs/interactions/message-components#component-object
Embedded rich
content (up to 6000 characters)
See also: https://discord.com/developers/docs/resources/channel#embed-object
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.
optionalMessageFlags | undefined flags? :
Message flags combined as a bitfield
optionalRESTAPIMessageReference | undefined message_reference? :
Include to make your message a reply or a forward
A nonce that can be used for optimistic message sending
optionalRESTAPIPoll | undefined poll? :
A poll!