RestCord logo RestCord




Post a message to a guild text or DM channel. If operating on a guild channel, this endpoint requires the 'SEND_MESSAGES' permission to be present on the current user. Fires a Message Create Gateway event. See message formatting for more information on how to properly format messages.


Name Type Required Default snowflake true null
content string false null
nonce snowflake false null
tts bool false null
file file contents false null
embed object false null


Returns a message object.

Can Return: