Creating a new bot
How do I create a bot? Do not forget to set domain with /setdomain
command.
![Cài đặt và cấu hình thông báo Telegram cho WHMCS 1 Creating a new bot](https://help.zubi.cloud/wp-content/uploads/2023/07/cai-dat-va-cau-hinh-thong-bao-telegram-cho-whmcs-1967.jpg)
Main Addon (Client Notifications)
Install and activate
Download and unpack telegram-addon.zip
, upload content to the WHMCS folder.
Go to Setup > Addon Modules and activate Telegram Addon.
![Cài đặt và cấu hình thông báo Telegram cho WHMCS 2 Install and activate](https://help.zubi.cloud/wp-content/uploads/2023/07/cai-dat-va-cau-hinh-thong-bao-telegram-cho-whmcs-1967-1.jpg)
After activation check permissions and save settings.
Set Encoded File Loading to Attempt to load all files at General Settings – Other.
![Cài đặt và cấu hình thông báo Telegram cho WHMCS 3 ioncube](https://help.zubi.cloud/wp-content/uploads/2023/07/cai-dat-va-cau-hinh-thong-bao-telegram-cho-whmcs-1967-2.jpg)
Go to Addons > Telegram Addon and fill the License Key field.
![Cài đặt và cấu hình thông báo Telegram cho WHMCS 4 License key](https://help.zubi.cloud/wp-content/uploads/2023/07/cai-dat-va-cau-hinh-thong-bao-telegram-cho-whmcs-1967-3.jpg)
Bot Settings
Fill Bot Username and Token in the Bot Settings tab.
![Cài đặt và cấu hình thông báo Telegram cho WHMCS 5 Bot Settings](https://help.zubi.cloud/wp-content/uploads/2023/07/cai-dat-va-cau-hinh-thong-bao-telegram-cho-whmcs-1967-4.jpg)
Notifications
You can send different types of messages to the cleints.
![Cài đặt và cấu hình thông báo Telegram cho WHMCS 6 Settings](https://help.zubi.cloud/wp-content/uploads/2023/07/cai-dat-va-cau-hinh-thong-bao-telegram-cho-whmcs-1967-5.jpg)
Client Area:
Message Templates
Click Edit to start editing the message. You can use Smarty variables and functions.
Also you can create custom admin templates. Several HTML tags supported
Admin Notifications
Administrators can link Telegram accounts and use it to receive notifications.
![Cài đặt và cấu hình thông báo Telegram cho WHMCS 11 Linking](https://help.zubi.cloud/wp-content/uploads/2023/07/cai-dat-va-cau-hinh-thong-bao-telegram-cho-whmcs-1967-10.jpg)
Module activation
Administrators can receive individual or group notifications.
Go to Setup > Notifications click “Configure” on Notification for Telegram Addon.
You can add up to 5 Chats/Groups. To find Chat/Group ID open Telegram Web and open group info:
![Cài đặt và cấu hình thông báo Telegram cho WHMCS 14 Группа](https://help.zubi.cloud/wp-content/uploads/2023/07/cai-dat-va-cau-hinh-thong-bao-telegram-cho-whmcs-1967-13.jpg)
Right click on Invite to group via link
and copy link. Link will be like https://web.telegram.org/#/im?p=g370024601
. Numbers is group ID with ‘-‘ sign.
Creating rules
Click Create New Notification Rule for new rule:
![Cài đặt và cấu hình thông báo Telegram cho WHMCS 15 Rules](https://help.zubi.cloud/wp-content/uploads/2023/07/cai-dat-va-cau-hinh-thong-bao-telegram-cho-whmcs-1967-14.jpg)
Select Message Template and Recipient.