Telegram Notifications

Get instant alerts on Telegram when your site goes down. Available on all plans.

Setup Instructions

Create your own Telegram bot and connect it to upsonar.

1

Create a Telegram Bot

Open Telegram and search for @BotFather.

Send /newbot and follow the prompts to create your bot.

Copy the Bot Token you receive (looks like 123456:ABC-DEF...).

2

Get Your Chat ID

Start a chat with your new bot and send any message.

Visit https://api.telegram.org/bot<TOKEN>/getUpdates

Find your Chat ID in the response: "chat":{"id":123456789}

3

Add Channel in upsonar

Go to your dashboardSettings → Notifications.

Click "Add Telegram" and enter your Bot Token and Chat ID.

Click "Send Test" to verify the connection.

What You'll Receive

When a monitor detects a problem, you'll get a formatted message with all the details:

Site Down

🔴 DOWN: example.com

Status: Connection timeout

Region: Frankfurt, Germany

Time: 2024-01-15 14:32 UTC

Site Recovered

🟢 UP: example.com

Downtime: 4 minutes

Time: 2024-01-15 14:36 UTC

Notification Settings

Customize how and when you receive alerts.

Quiet Hours

Don't send notifications during specific hours (e.g., nighttime).

Cooldown

Minimum time between alerts for the same monitor to avoid spam.

Alert Threshold

Number of failed checks before sending an alert.

Troubleshooting

Not receiving messages?

  • Make sure you sent a message to your bot first
  • Check that Bot Token and Chat ID are correct
  • Try the "Send Test" button to verify connection

Want alerts in a group?

  1. Add your bot to the Telegram group
  2. Send a message in the group
  3. Use getUpdates to find the group Chat ID (negative number like -123456789)