AddMessageRequestDto
Body for POST Api/Message/AddMessage.
Поля
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
chatId | number | да | — |
contents | ChatContentObjectDto[] | да | Message body, one entry per block. |
mentions | number[] | null | нет | Ids of the mentioned users. |
parentMessageId | number | null | нет | Set to answer an existing message in the thread. |
Пример
json
{
"chatId": 0,
"contents": [],
"mentions": [],
"parentMessageId": 0
}