Alerts

Connect Telegram

Telegram is the free alert channel. It’s fast, works on your phone, and — because the message is delivered by Telegram’s servers, not your site — you still get it when the site itself is down. That’s the whole point: you hear about a crash from FatalGuard, not from an angry client.

Create a bot

  1. In Telegram, open a chat with @BotFather.
  2. Send /newbot and follow the prompts (give it a name and a username).
  3. BotFather replies with a bot token that looks like 123456789:AA.... Copy it.

Connect it in FatalGuard

  1. Go to FatalGuard → Alerts.
  2. Paste the token into the connect wizard.
  3. Open a chat with your new bot and press Start (or add the bot to a group and send any message).
  4. FatalGuard detects the chat automatically and confirms the connection.

That’s it. Fatal-error alerts now go to that chat. Use Send test message to confirm delivery.

Sending to a group

Prefer a team channel? Add your bot to a Telegram group, send any message in the group, then run the connection — FatalGuard picks up the group chat. Everyone in the group gets the alerts.

Manual setup (optional)

If you’d rather not use the wizard, expand Enter token and chat id manually and paste both values:

  • Bot token — from BotFather.
  • Chat id — the numeric id of the chat (a group id looks like -100123456789).

What an alert looks like

When a fatal is captured you get a message with the error, the file and line, and — for a crashing plugin — a one-tap button to turn it off and restore the site:

⬤ Fatal on yourdomain.com
Uncaught Error: call to undefined function acme_init()
/wp-content/plugins/acme/acme.php:42

[ Turn it off & restore the site ]

How one-tap recovery works

Troubleshooting

  • No test message? Re-check the token, and make sure you pressed Start in the bot chat (Telegram won’t let a bot message you first until you do).
  • Group not detected? Send a fresh message in the group, then reconnect.