diff --git a/docs/configuration.md b/docs/configuration.md index d717914c..6ed1ead8 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -516,6 +516,8 @@ wechat_configs: [ - , ... ] telegram_configs: [ - , ... ] +webex_configs: + [ - , ... ] ``` ## `` @@ -1112,3 +1114,25 @@ API](http://admin.wechat.com/wiki/index.php?title=Customer_Service_Messages). # The HTTP client's configuration. [ http_config: | default = global.http_config ] ``` + +## `` +```yaml +# Whether to notify about resolved alerts. +[ send_resolved: | default = true ] + +# The Webex Teams API URL i.e. https://webexapis.com/v1/messages +# If not specified, default API URL will be used. +[ api_url: | default = global.webex_api_url ] + +# Webex bot token +[ bot_token: ] + +# ID of the Webex Teams room where to send the messages. +[ room_id: ] + +# Message template +[ message: default = '{{ template "webex.default.message" .}}' ] + +# The HTTP client's configuration. As an alternative, You can use this configuration to supply the bot token as part of the HTTP `Authorization` header. +[ http_config: | default = global.http_config ] +```