Send automated admin notifications from WHMCS to Telegram based on trigger groups. Supports multiple admins, chat groups, and configurable alert scopes.
- 🔔 Send WHMCS admin notifications directly to Telegram
- 👥 Assign multiple Telegram chat IDs or groups per admin
- 🧠 Filter notifications using Trigger Groups
- ✅ Easy bot setup with test connection support
- 🛠 Built for WHMCS's native notification system
Example of linking WHMCS Admins and Telegram groups
Add, remove, and manage custom trigger groups
Add, remove, and manage custom Telegram groups
How to set up the trigger to a group
How notifications appear in your Telegram app
-
Upload the module
- Place the files under:
modules/notifications/telegram/
- Place the files under:
-
Create the required database tables
- You can use the activation SQL or use the legacy activation module to auto-create:
mod_telegram_adminsmod_telegram_groupsmod_telegram_chatgroups
- You can use the activation SQL or use the legacy activation module to auto-create:
-
Configure the module in WHMCS
- Go to:
Setup>Notifications - Add new notification rule with "Telegram" as the provider
- Enter your Telegram Bot Token
- Go to:
-
Set up Trigger Groups
- Assign WHMCS admins or Telegram chat groups to specific trigger groups
- Only these will receive the corresponding notifications
-
Set up Notification
- Go to Notifications and create a new notification rule
- Set up the event and the conditions. Insert the trigger group under the Telegram field
- Open Telegram and start a chat with @BotFather
- Run
/newbotand follow the instructions - Copy the Bot Token provided
To verify your Telegram bot configuration:
- Use the Save Changes button in the Notification settings
- A test message will be sent to the first available chat ID in your configuration
- To define custom trigger groups, insert them into
Manage Trigger Groupstable - Extend filtering logic by modifying the
Notificationsettings
| Table | Purpose |
|---|---|
mod_telegram_admins |
Stores admin/chat ID and group mappings |
mod_telegram_groups |
Defines logical trigger categories |
mod_telegram_chatgroups |
Named Telegram chat group entries |
Yes. Use the group’s chat ID (e.g. -1001234567890) when assigning.
Yes. Telegram messages use Markdown parse mode by default.
Yes. No customer data is sent. Only the title and ticket link.
MIT © PawHost.de
Feel free to open issues or PRs to improve this module!





