Supported Providers
Telegram Provider
Telegram Provider is a provider that allows to notify alerts to telegram chats.
Authentication
This provider requires authentication.
- bot_token: Telegram Bot Token (required: True, sensitive: True)
In workflows
This provider can be used in workflows.
As “action” to make changes or update data, example:
Check the following workflow examples:
Telegram only supports limited formatting options. Refer to the Telegram Bot API documentation for more information.
Authentication Parameters
The TelegramProviderAuthConfig class takes the following parameters:
- bot_token (str): The bot of the token. *Required**
Connecting with the Provider
To use the Telegram Provider you’ll need a bot token. How to create telegram bot - https://core.telegram.org/bots#how-do-i-create-a-bot
Useful Links
- Telegram Bot docs - https://core.telegram.org/bots
- Telegram how to get chat id - https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id
Example
See examples/alerts/db_disk_space_telegram.yml
for a full working example.