Telegram Configuration
Menu path: Admin -> Settings -> Telegram Configuration
Route: /admin/settings/telegram
Use this page to connect Telegram notifications.
Main fields
| Field | What it means | What to enter |
|---|---|---|
Telegram Bot API Token | Secret token used by your bot | Paste the exact token from @BotFather |
Admin's Telegram Chat ID | Telegram chat ID that receives admin alerts | Paste the chat.id value from getUpdates |
What this page does
After setup, the application can send Telegram notifications to the admin chat that you choose.
Step 1: Create your Telegram bot
- Open Telegram.
- Search for
@BotFather. - Start a chat with
@BotFather. - Send this command:
/newbot
- Enter a display name for the bot.
- Enter a username for the bot.
Your bot username must be unique and usually ends with bot, for example:
mycompanynotifybot
After the bot is created, BotFather will give you a bot token.
Step 2: Copy the bot token
The bot token looks similar to this:
123456789:AAExampleTokenValueHere
Copy this token and keep it safe.
Treat the bot token like a password. Anyone who has this token may be able to use your bot.
Step 3: Start a chat with your bot
- Open your new bot in Telegram.
- Click
Startor send:
/start
This step is important. In a normal private chat, the bot must receive a message from you first before it can send messages back.
Step 4: Get your Telegram chat ID
The easiest standard method is to use Telegram Bot API getUpdates.
Open this URL in your browser and replace the token:
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates
If you already sent a message to the bot, you should see a JSON response.
Look for a part similar to this:
{
"message": {
"chat": {
"id": 123456789
}
}
}
Use that chat.id value as the Admin's Telegram Chat ID.
If getUpdates shows an empty result
Try these checks:
- Make sure you already sent
/startor another message to the bot. - Refresh the
getUpdatesURL. - Make sure the token is correct.
Step 5: Save the values in RoboExchanger
Go to:
Admin -> Settings -> Telegram Configuration
Then fill in:
Telegram Bot API Token: paste your bot tokenAdmin's Telegram Chat ID: paste thechat.idvalue
Save the page.
Step 6: Turn on Telegram notifications
After Telegram configuration is saved, go to:
Admin -> Settings -> Notification Settings
Enable the Telegram events you want, for example:
- Exchange
- Reserve Request
- New Login
- Affiliation
- KYC Verification
Simple example
If your bot token is:
123456789:AAExampleTokenValueHere
Then your test URL will be:
https://api.telegram.org/bot123456789:AAExampleTokenValueHere/getUpdates
If the JSON response contains:
"chat": {
"id": 987654321
}
Then you should save:
Telegram Bot API Token=123456789:AAExampleTokenValueHereAdmin's Telegram Chat ID=987654321
Best practice
- Use one dedicated bot for your website or company.
- Save the token in a safe place.
- Send a message to the bot before testing.
- Turn on only the Telegram notifications you really need.
Common mistakes
- saving the bot username instead of the bot token
- using a chat username instead of the numeric
chat.id - not sending
/startto the bot before checkinggetUpdates - enabling Telegram notifications before this page is saved correctly
Official references
- Telegram Bots FAQ: https://core.telegram.org/bots/faq
- Telegram bot tutorial: https://core.telegram.org/bots/tutorial
- Telegram Bot API reference: https://core.telegram.org/bots/api
- BotFather: https://t.me/BotFather
Source note
The chat.id step above is an instruction based on Telegram's official Bot API flow: after you message the bot, getUpdates returns update data, and the chat identifier is available inside that update payload.