curl --location 'tasks//v2/messages' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data '{
"text": "string",
"messageReplyId": "string",
"files": [
"string"
],
"externalFiles": "string"
}'{
"message": {
"id": 12345,
"text": "Привет, вот файлы",
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-15T10:30:00.000Z",
"senderId": 13993,
"taskId": 140334,
"messageReplyId": null,
"files": [
{
"id": 987,
"fileName": "doc.pdf",
"size": 1024,
"link": "..."
}
],
"deleted": 0,
"reactions": [],
"edited": false,
"pinned": false
},
"history": { ...
}
}