إنتقل إلى المحتوى الرئيسي

✈️ Telegram

Telegram is one of the fastest notification channels — messages arrive almost instantly on your phone.


🔧 الإعداد

Step 1: Create a Telegram Bot

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Choose a name (e.g., Monitron Alerts)
  4. Choose a username (e.g., monitron_alerts_bot)
  5. Copy the Bot Token (looks like 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw)

Step 2: Get Your Chat ID

  1. Start a chat with your new bot (click the link BotFather gives you)
  2. Send any message to the bot
  3. Open this URL in your browser (replace YOUR_BOT_TOKEN):
    https://api.telegram.org/botYOUR_BOT_TOKEN/getUpdates
  4. Find your chat.id in the JSON response
معلومات

For group notifications, add the bot to a group, send a message in the group, then check getUpdates. Group chat IDs start with a negative number (e.g., -1001234567890).

Step 3: Configure Global Settings

Go to Admin → Settings → Notification Providers → Telegram:

الإعدادالقيمة
Bot TokenYour bot token from BotFather

Step 4: Add to Contact

الإعدادالقيمة
ChannelTelegram
Chat IDYour chat ID

📨 تنسيق الرسالة

Monitron sends Markdown-formatted messages with monitor name, status, error details, and timestamp.


💡 نصائح

  • Mute non-critical channels: Create separate Telegram groups for different severity levels.
  • Pin the bot: Pin the Monitron bot chat for quick access.
  • Telegram bots can't message you first — you must start the conversation!