Skip to main content

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 nameTypeDescription
channel_typenumberChannel type
channel_groupstringChannel group
channel_namestringChannel name
channel_idnumberChannel number
messagestringChat 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
}