POST
/api/v1/bot/messages.phpCreate rich message
Supports content, rich embeds, buttons/select menus, and replies.
Request Body
application/json
{
"channel_id": 2001,
"content": "NEXUS API üzerinden gönderilen mesaj.",
"embeds": [
{
"title": "string",
"description": "string",
"url": "string",
"color": 1,
"fields": [
{
"name": "example",
"value": "string",
"inline": true
}
]
}
],
"components": [
{
"type": "string",
"components": [
[]
]
}
],
"reply_to": 1
}Example Request
cURL
curl -X POST 'https://nexuschatly.com/api/v1/bot/messages.php' \
-H 'Authorization: Bot nx_bot_...' \
-H 'Content-Type: application/json' \
-d '{
"channel_id": 2001,
"content": "NEXUS API üzerinden gönderilen mesaj.",
"embeds": [
{
"title": "string",
"description": "string",
"url": "string",
"color": 1,
"fields": [
{
"name": "example",
"value": "string",
"inline": true
}
]
}
],
"components": [
{
"type": "string",
"components": [
[]
]
}
],
"reply_to": 1
}'Responses
200Successful response400Error response401Error response403Error response429Error response