When something goes wrong in your application, Flare can notify you via various channels: mail, SMS, Slack, webhooks, ...
A lot of teams nowadays use Telegram to communicate, and we understand why. It has a very clean UI, is very fast, has a well-polished mobile app, and has excellent notification options.
As of today, Flare can notify you via Telegram. In this blog post, you'll see that we didn't only provide basic support but also went all the way with notification actions.
Connecting Flare to Telegram
To start using Telegram, go to the notification settings of either your team, personal account or project. You will see a new Telegram option.
Click on the slider to start using Telegram. This dialog will open up.
In the dialog above, there are clear instructions to get started. You should invite our bot into your Telegram channel and issue the start command with a token. Let's do that.
When heading back to Flare, you'll see that we detected that our bot was asked to start in your Telegram channel.
You can now click the events you want Flare to report in your channel and save the preferences.
After you've saved the Telegram preferences, you see a button to test if everything is working correctly. When pressed, we'll send a test notification to Telegram. This is how that notification looks like
Let's now send an error to Flare. For this example, the
php artisan flare:test command was executed in one of our projects.
You can see that all details of this error are displayed nicely in Telegram. Using that "View error" button, you can quickly see the entire area in Flare.
Let's now press that "Resolve" button to mark the error as resolved. At Flare, you can see which telegram user did mark that error as resolved.
In Telegram, you'll see that the "Resolve" button was replaced by an "Unresolve" button to undo the action.
Let's now press the "Snooze" button. You'll see that it gets replaced by the various snooze options.
If you don't want to snooze, you can press that "Do not snooze" button.
Let's try out the last available button, "Create GitHub Issue". This one will send you to GitHub, to the create issue form, with all of the error details filled in.
How nice is that?
We hope that you like this new Telegram integration. Our team is constantly improving Flare. On our blog, you can read various posts on why and how features are added. If you have any feature suggestions, let us know using the little contact bubble in the lower right corner of this page.