Skip to content

WordPress Telegram notifications

You already read Telegram. A weekly line there says protection is on before someone else has to.

Telegram Reports add-on in BotBlocker Security

A report where you already look

One message a week from a scheduled task.

Why a dashboard goes unread

A dashboard only works when someone opens it. Most owners open it twice after an incident and then forget the address. The line owners want is simpler: is protection still on, and how much did it stop this week.

WordPress Telegram notifications answer that in the app you check for other reasons. The message arrives in a chat you own, on a phone or a laptop, with no login.

The message is written after the fact. An attack in progress needs core alerting with a threshold.

What one message contains

Site and period

The site name, its address, the date range and the timezone, so two sites never look alike in one chat.

Protection state

Whether the firewall is active and which mode it runs in, full or front-end only.

Request counts

Total requests, allowed requests, blocked requests and visits from search engine bots.

Block rate

The share of all requests that were refused. A thousand requests with a hundred and fifty blocks reads as fifteen percent.

One bot, one chat

Your own Telegram bot sends the message, with no shared account in the middle. A bot is a Telegram user controlled by a program, and it can write only where it was started or added.

The setup needs two values. The bot token identifies your bot and is secret: anyone who holds it can send messages as that bot. The chat ID names the destination. A personal chat uses your numeric user ID, a group or channel uses a negative number that starts with a hundred, and a public channel also accepts its name with an at sign.

Both fields are saved in the panel and the token is masked after saving. A test button sends a message at once with the stored values, so a mistake shows up before the first week passes.

Details that cause most failures

Minus sign

A group ID starts with a minus and the minus is part of it. Dropping it sends the report to a chat that does not exist.

Bot must be present

A bot cannot write into a group or channel it was never added to. Add it as a member, or as an administrator for a channel.

No test in a locked panel

The fields and the test button stay locked until the main switch is on. That is the first thing to check when nothing sends.

When the first report arrives

Enabling the report and saving plans the first message one week later. From then on it repeats weekly, and switching the add-on off removes the plan.

The schedule runs on WordPress tasks, which fire when someone visits the site. A busy shop sends on time; a brochure site with three visits a day can send late. A real cron job at the host fixes that, and the Cron Jobs Manager add-on is where you see whether the task is still in the list.

The counters in the message are running totals from the dashboard. A block rate that looks low after a quiet week is often an average of a long history.

One of hundreds of BotBlocker capabilities

This add-on covers one job. The core plugin brings the firewall, the visitor check, the login rules and the log; PRO features extend them further. Install BotBlocker, turn on what your site needs and leave the rest off.

BotBlocker protection shield

Questions about the report

The test fails. What do I check first?
The token and the chat ID, then whether the bot is still in that chat. A token that leaked or was revoked stops working without a message.
The test works, but no weekly report comes.
Look for the weekly task in the scheduled task list. On a quiet site, add a cron job at the host so WordPress tasks run on time.
A number looks different from last week.
The counters are running totals, so the block rate is an average over the whole history. Open the traffic log for the detail behind it.
Where does the message go if the add-on is deleted?
Nowhere. Its settings are removed with it, so write down the chat ID before you delete anything.
Is this an alert?
No. It is a weekly summary. The Telegram Bot API explains the message limits, and core alerting handles attacks as they happen.