Request

POST /pub/v1/channel/{channel}/message/{id}/comment

Path parameters

Parameter name Value Description Additional
channel uuid

Channel ID

Required
id uuid

Message ID

Required

Request body

The resource sent in the request body is  Запрос на создание комментария к сообщению в канале. It contains the following writable properties:

{
    "body": "string",
    "files": [
        {
            "hash": "string",
            "name": "string",
            "size": "int64"
        }
    ],
    "mentions": [
        "string"
    ]
}

Properties

Name Type Description Additional
body string Тело сообщения Optional
files[] array Optional
files[].hash string Хэш Optional
files[].name string Название Optional
files[].size int64 Размер Optional
mentions[] array of string Optional

Authorization

This request requires the use of one of following authorisation methods: API key

Response

The following HTTP status codes may be returned: