Skip to main content
POST
/
max
/
commands
/
update-announcers
cURL
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>"
  ]
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://opendonationassistant.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
added
object[]
required
updated
object[]
required
deleted
string[]
required

Response

200 - application/json

OK

The response is of type object.