Skip to content

Commit be0511e

Browse files
committed
feat(docs): add guide for setting up Telegram bot notifications
1 parent 116c02f commit be0511e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
sidebar_position: 6
3+
slug: telegram-bot-notifications
4+
title: Telegram Bot Notifications
5+
description: Set up a Telegram bot to receive notifications
6+
tags: [intermediate, fassets, bitcoin, dogecoin]
7+
authors: [fassko]
8+
keywords: [fassets, xrp, btc, doge flare-network, flare-network]
9+
---
10+
11+
1. Get the API key from the [FAssets Telegram Bot](http://t.me/FlareFAssetsSongbirdBot) by sending `/events` and selecting `Subscribe to Events`.
12+
2. Add the following configuration to the `apiNotifierConfigs` list in the `config.json` file, replacing `API_KEY` with the key obtained from the bot.
13+
14+
```json
15+
{
16+
"apiKey": "API_KEY",
17+
"apiUrl": "https://fasset-tg-bot-songbird.flare.network",
18+
"level": "danger"
19+
}
20+
```
21+
22+
:::info
23+
Please note that notifications will only be sent out for **danger** and **critical** levels, regardless of the configured level. This is enforced by the Telegram bot, which ignores other events to prevent unnecessary HTTP requests.
24+
:::

0 commit comments

Comments
 (0)