curl --request POST \
--url https://api.example.com/max/commands/update-announcers \
--header 'Content-Type: application/json' \
--data '
{
"added": [
{
"text": "<string>",
"accountId": "<string>",
"chatId": 123,
"buttons": [
{
"text": "<string>",
"url": "<string>"
}
],
"type": "ANNOUNCE_STREAM_AND_DELETE"
}
],
"updated": [
{
"id": "<string>",
"text": "<string>",
"buttons": [
{
"text": "<string>",
"url": "<string>"
}
],
"trigger": "<string>",
"type": "ANNOUNCE_STREAM_AND_DELETE",
"enabled": true
}
],
"deleted": [
"<string>"
]
}
'