Skip to main content

Telegram Configuration

Menu path: Admin -> Settings -> Telegram Configuration

Route: /admin/settings/telegram

Use this page to connect Telegram notifications.

Main fields

FieldWhat it meansWhat to enter
Telegram Bot API TokenSecret token used by your botPaste the exact token from @BotFather
Admin's Telegram Chat IDTelegram chat ID that receives admin alertsPaste 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

  1. Open Telegram.
  2. Search for @BotFather.
  3. Start a chat with @BotFather.
  4. Send this command:
/newbot
  1. Enter a display name for the bot.
  2. 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.

caution

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

  1. Open your new bot in Telegram.
  2. Click Start or 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:

  1. Make sure you already sent /start or another message to the bot.
  2. Refresh the getUpdates URL.
  3. 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 token
  • Admin's Telegram Chat ID: paste the chat.id value

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:AAExampleTokenValueHere
  • Admin'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 /start to the bot before checking getUpdates
  • enabling Telegram notifications before this page is saved correctly

Official references

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.