You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there's a site whose status needs to be reported to a new channel.
17
17
18
18
1. Create a new Telegram channel for the notifications. Add anyone who needs to be notified to the channel.
19
19
2. Add the Telegram Bot to that channel. Write anything in that channel (relevant for next step).
20
20
3. Get the Telegram Chat ID of the channel by checking the result of this https://api.telegram.org/bot<TELEGRAM_BOT_TOKEN>/getUpdates. Make sure you add the telegram bot token to the URL.
21
21
4. Create a new site. Make sure the name starts with the a given text (let's call this the `prefix`).
22
22
5. Add the `prefix` to the `sitePrefixToTelegramId` record in the [notifyRouter.ts](api/notifyRouter.ts) file, and map it to the Telegram Chat ID you got in step 2.
0 commit comments