ZaneChat

Telegram Bot Setup Guide

Follow these simple steps to connect your Telegram bot and start receiving messages.

1

Create a Bot with BotFather

  1. Open Telegram and search for @BotFather
  2. Start a chat and send /newbot
  3. Choose a name for your bot (e.g., "MySupportBot")
  4. Choose a username ending in bot (e.g., mysupportbot)
  5. BotFather will give you a Bot Token

Important: Keep this token secret! Anyone with this token can control your bot.

2

Create a Support Group & Enable Topics

  1. Create a new Telegram Group
  2. Add your bot to the group
  3. Promote the bot to Administrator
  4. Open Group Settings → Topics → Enable Topics
  5. Create a topic named "Customer Support"(or any name you prefer)

💡 ZaneChat automatically creates a dedicated topic for every website visitor conversation, keeping all customer chats organized inside your Telegram group.

3

Get Your Telegram Group Chat ID

  1. Send any message inside your Telegram group
  2. Open:https://api.telegram.org/bot<BOT_TOKEN>/getUpdates
  3. Find the group ID that looks like:-1001234567890
"chat": {
  "id": -1001234567890,
  "title": "Customer Support"
}
4

Connect with ZaneChat

  1. Open Settings → Telegram Integration
  2. Paste your Bot Token
  3. Paste your Group Chat ID
  4. Click Save Changes
5

Automatic Webhook Configuration

✅ No manual webhook setup is required.

When you save your Bot Token and Group Chat ID, ZaneChat automatically configures the Telegram webhook and starts routing messages between your website and Telegram group topics.

6

Test Everything

  1. Open your website widget
  2. Send a message as a visitor
  3. ZaneChat will automatically create a Telegram topic for that visitor
  4. Reply from Telegram and the response will appear instantly in the website chat widget

Troubleshooting

!

Bot token or chat ID not configured

Make sure both fields are filled and saved

!

Telegram API error

Check that your token is correct and the bot is not deleted

!

No test message received

Make sure you started a chat with your bot first

!

Wrong Chat ID

Use @userinfobot for the correct ID