Some time ago, I discovered interesting library for notification dispatch for Elixir language: https://github.com/acutario/ravenx.
It can be very useful, if you want to send notifications via different channels, for example via Email and Slack (package supports both methods out of the box).
But for purposes of one of my pet project - I need Telegram channels messaging.
So, welcome: https://github.com/maratgaliev/ravenx_telegram
To install this package, you need to add
ravenx_telegram to your list of dependencies in
And second you need to add it to the list of
Ravenx strategies in the config in order for it to work:
This module uses Nadia, so add into your app:
Send messages via
That’s it, nothing special :)