v1

latestOpenAPI 3.0.12026-07-17310206.9 KB

Sends a message to a specified channel or user in Discord.

This function allows sending messages to either a specific channel or directly to a user in Discord. It supports sending text content, embedding images/links, and including rich embeds. The function is versatile, enabling various types of message compositions for different communication needs.

post/sendMessage

Request body

Response

Message sent successfully

idstring

The ID of the sent message

contentstring

The content of the sent message

channelIdstring

The ID of the channel where the message was sent

timestampstring date-time

The timestamp when the message was sent

All 31 operations