Telegram Integration
Send backup alerts to a Telegram bot, group, or channel.
Creating a Telegram Bot
- Open Telegram and search for @BotFather
- Send
/newbot - Choose a name (e.g., "Acme Backup Alerts")
- Choose a username (e.g.,
acme_backup_bot) - BotFather will send you the bot token — save it
Setting Up the Integration
- Go to Monitoring → Channels → Add Channel → Telegram
- Enter your Bot Token
- Enter your Chat ID (see below)
- Click Test to verify
- Click Save
Finding Your Chat ID
Personal Chat
- Start a conversation with your bot by messaging it
- Visit:
https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates - Look for
"chat": {"id": 123456789}in the response - That number is your Chat ID
Group Chat
- Add your bot to the group
- Send a message in the group
- Visit the
getUpdatesURL above - Look for the
"chat"object with"type": "group"— the ID is typically negative (e.g.,-987654321)
Telegram Channel
- Add your bot as an administrator of the channel
- Send a test message to the channel
- Find the Chat ID via
getUpdates— it starts with-100for public channels
Message Format
🔴 Backup Failed
Schedule: postgres-prod-daily
Agent: prod-db-server-01
Error: pg_dump: error: connection failed
Time: 2024-01-15 02:00:01 UTC
View: https://app.jokowipe.id/backups/bkp-a1b2c3
Configuring Alert Types
After adding the Telegram channel, configure which alerts it receives:
- Go to Monitoring → Alert Rules
- For each rule, click Edit → add Telegram as a notification channel
Or configure it globally:
- Go to Monitoring → Channels → [Your Telegram Channel]
- Toggle which event types trigger notifications
Multiple Chats
You can add multiple Telegram channels in jokowipe.id — one for critical alerts, another for daily summaries, etc.
Testing
Click Send Test Message in the channel settings:
👋 Test from jokowipe.id
This is a test notification from your Telegram integration.
If you received this, your integration is working correctly.
Troubleshooting
Bot Not Receiving Messages
- Ensure the bot was started (send
/startto the bot in a private chat) - For groups: ensure the bot was added as a member
- Check the Chat ID is correct — negative IDs for groups/channels
Messages Not Delivered
- Check the Bot Token hasn't been revoked (regenerate via BotFather if needed)
- Visit the getUpdates URL to verify the bot can receive events