Follow these steps to connect Telegram with your Affiliate Pro system and receive instant notifications.
🔧 Step 1: Create a Telegram Bot
- Open Telegram and search for @BotFather
- Type
/start
, then/newbot
- Enter a bot name (e.g. AffiliateProNotifier)
- Enter a bot username (must end with
bot
, e.g., affiliate_pro_bot) - You will receive your Bot Token (e.g.
123456789:ABCdefGHIjklMNOpqrSTUvwxYZ
)
👤 Step 2: Get Your Chat ID
- Start a chat with your bot and click Start
- Open this URL in your browser (replace
<BOT_TOKEN>
):
https://api.telegram.org/bot<BOT_TOKEN>/getUpdates
- Send a message to the bot, then refresh the above URL
- Look for this block:
"chat": { "id": 123456789, ... }
The number is your Chat ID
🧪 Step 3: Test It
Open this URL in your browser (replace with your real data):
https://api.telegram.org/bot<BOT_TOKEN>/sendMessage?chat_id=<CHAT_ID>&text=Test+message
🧩 Final Step: Connect to the System
- Go to Admin Panel → Useful links→Settings→Telegram Settings section
- Paste your Bot Token and Chat ID
- Enable the notification types you want (e.g., New Registration)
Note: Make sure the bot is not blocked and has an active chat with your Telegram account.