NEXUS / APIBot Platform v2.3
USER-KEY:
Developer Portal
POST/api/v1/bot/messages.php

Create 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 response
400Error response
401Error response
403Error response
429Error response