Chat message
You can send a message to a certain channel.
System message
You can send a system message to a certain channel.
Send system message
HTTP request
POST https://platformapi.thebackend.io/chat/v1/system_message
Request body
Property name | Type | Description |
---|---|---|
channel_type | number | Channel type |
channel_group | string | Channel group |
channel_name | string | Channel name |
channel_id | number | Channel number |
message | string | Chat message |
{
"channel_type": 1,
"channel_group": "global",
"channel_name": "server-1",
"channel_id": 1,
"message": "Hello. This is the Platform API developer documentation."
}
Responses
If successful, the result is returned as a request body.
Error
Status: 400 Bad Request
{
"message": "There is a problem with the user credentials.",
"code": 400701,
"error": true
}