Telegram, one of the largest instant messaging applications, introduces bot support some time ago. Their main purpose, it seems, is to have a sort of interactive communications with users. However, you can use the API for much more prosaic, but constructive purposes.
For example, bots are perfect for sending notifications for your DevOps/admin activities, or for your automation scripts. Of course, you can utilize email for the same purpose, but there are a few pros to using bots, and we will look at them in a minute. First, let's see how one can use a bot for non-interactive notifications.
Note, that you need to perform these steps only once per notification group / robot. See it as setting up a new email and email distribution list. Also worth mentioning that all these actions are free, since, as opposed to slack and similar services, Telegram is totally gratis.
Once you have everything set up, you can use Telegram Bot API to send messages. You can simply utilize their web based API, but I prefer the python wrapper.
Telegram bots have a few advantages over that means of communications:
There are a few disadvantages for these kind of notification. Telegram allows rather limited formatting in the instant messages (on purpose). If you would like to send reports with complicated layouts and graphics, you are out of luck. Of course, an alternative is to store this report on the web somehow and simply share the link. Telegram can even show a decent preview of it! Thus, you don't need to send the same PDF to 5 thousand people, but only a simple link. However, if this is not an option, you might want to stick to the old crusty but trusty SMTP. And, of course, Telegram is not yet fully embrased by large organisations, but there are no surprises there, are there? :)
Conclusion: consider using Telegram bots for short notifications for DevOps activities and various automation scripts.
Join the email list to get notified about new posts and other updates