Telegram — Bot Token, Chat ID, Webhook Secret

The Telegram tab is where you connect your bot to the plugin. Without a valid Bot Token and Chat ID the chat widget will not appear on the frontend at all.

Bot Token

The unique identifier for your Telegram bot, provided by @BotFather when you create a bot. It looks like 123456789:ABCdefGHI...

Go to Baza Live Chat → Settings → Telegram. Paste the token into the Bot Token field and click Save Settings.

How to get your Bot Token

  1. Open Telegram, search for @BotFather
  2. Send /newbot
  3. Follow the instructions — choose a name and username for your bot
  4. Copy the token from BotFather’s final message

To get the token for an existing bot, send /mybots to @BotFather, select your bot, then API Token.

Chat ID

The Chat ID tells the plugin where to deliver visitor messages — to your personal Telegram account, a group, or a channel.

Personal Chat ID

  1. Open Telegram, search for @userinfobot
  2. Send any message
  3. Copy the Id value — it is a positive number like 123456789

Group Chat ID

  1. Add your bot to the group as a member
  2. Send any message in the group
  3. Open https://api.telegram.org/bot{YOUR_TOKEN}/getUpdates in your browser
  4. Find chat.id — it is a negative number like -123456789

Webhook Secret

An optional security token that verifies every incoming Telegram request. If set, the plugin will reject any webhook request that does not include this token — protecting your site from fake webhook calls.

  1. Click Generate next to the Webhook Secret field
  2. Click Save Settings
  3. Go to the Webhook tab and click Set Webhook again to register the secret with Telegram

If you change the Webhook Secret you must re-set the webhook — otherwise Telegram requests will be rejected.