Parameters Mapping For Built-In Notifications
Discord
| Parameter Label | p map alias |
|---|---|
| Bot Username | username |
| Content | content |
Example:
queryConfig("Discord", ["username":"ATSD BOT", "content":"Hello, Discord!"])
HipChat
| Parameter Label | p map alias |
|---|---|
| Bot Nickname | from |
| Room ID | room |
| Message | message |
| Message Format | message_format |
| Notify | notify |
Example:
queryConfig("HipChat", ["from":"ATSD BOT", "message":"Hello, HipChat!", "notify":"true"])
Slack
| Parameter Label | p map alias |
|---|---|
| Bot Username | username |
| Channels | channels |
| Text | text |
Example:
queryConfig("Slack", ["username":"ATSD BOT", "channels":"devops", "text":"Hello, Slack!"])
Channels
Only first channel in the channels parameter receives notification.
Telegram
| Parameter Label | p map alias |
|---|---|
| Chat ID | chat_id |
| Text | text |
| Notifications | disable_notification |
| Web Page Preview | disable_web_page_preview |
Example:
queryConfig("Telegram", ["text":"Hello, Telegram! https://example.org", "disable_web_page_preview":"false"])