Messages

Direct Messaging

post
Send a Direct Message

http://localhost:8080/api/messages
Sends a direct message to a user. Supports a user id (snowflake) or username#discriminator.
Request
Response
Request
Headers
Authentication
required
string
Authentication Bearer token.
Body Parameters
user
optional
string
User ID or Username#Discriminator
message
optional
string
Message payload (can include emojis).
Response
200: OK
Direct message sent successfully.
{
"result": true
}
404: Not Found
User ID or username#discriminator not found.
{
"result": false
}

‚Äč