Skip to main content
POST
/
max
/
commands
/
add-announcer
cURL
curl --request POST \
  --url https://api.example.com/max/commands/add-announcer \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "accountId": "<string>",
  "chatId": 123,
  "buttons": [
    {
      "text": "<string>",
      "url": "<string>"
    }
  ],
  "trigger": "<string>",
  "type": "ANNOUNCE_STREAM_AND_DELETE"
}
'
{}

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
text
string
required
accountId
string
required
chatId
integer<int64>
required
buttons
object[]
required
trigger
string
required
type
enum<string>
required
Available options:
ANNOUNCE_STREAM_AND_DELETE,
ANNOUNCE_STREAM

Response

200 - application/json

OK

The response is of type object.