{
"title": "string",
"content": "string",
"tagEveryone": true
}
curl --location --request POST 'https://api.teamly.one/api/v1/channels//announcements' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "string",
"content": "string",
"tagEveryone": true
}'
{
"id": "string",
"channelId": "string",
"title": "string",
"content": "string",
"createdBy": {
"id": "string",
"username": "string",
"subdomain": "string",
"profilePicture": null,
"banner": null,
"bot": false,
"presence": 0,
"flags": "string",
"badges": [],
"userStatus": {
"content": null,
"emojiId": null
},
"userRPC": {
"type": null,
"name": null,
"id": null,
"startedAt": null
},
"connections": [],
"createdAt": "CURRENT_TIMESTAMP",
"lastOnline": "CURRENT_TIMESTAMP",
"system": false
},
"attachments": [
{
"url": "string"
}
],
"emojis": [
{
"emojiId": "string"
}
],
"mentions": {
"users": [
"string"
]
},
"reactions": [
{
"emojiId": "string",
"count": 0,
"users": [
{
"userId": "string",
"timestamp": "2019-08-24T14:15:22Z"
}
]
}
],
"createdAt": "2019-08-24T14:15:22Z",
"editedAt": "2019-08-24T14:15:22Z"
}