Skip to content

Telegram Channel

Connect a Telegram Bot to receive and reply to Telegram messages from the NotifyBulk Inbox.


Requirements

  • A Telegram account
  • A Telegram Bot created via @BotFather
  • The bot's API token

Creating a Telegram Bot

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Choose a display name for your bot (e.g. "Acme Support")
  4. Choose a username ending in bot (e.g. acme_support_bot)
  5. BotFather will send you a token like:
    7123456789:AAHdqTcvCH1vGWJxfSeofSOs0K73Xc3g
  6. Copy that token — you'll need it in the next step

Connecting Telegram

  1. Go to Inbox → Channels
  2. Click Connect on the Telegram card
  3. Paste your Bot Token in the field
  4. Click Validate — the platform will verify the token with Telegram and show the bot's name
  5. Click Save

On save, NotifyBulk automatically registers a webhook with Telegram so messages are delivered to your inbox in real time.


Configuration stored

Field Description
bot_token The Telegram Bot API token
bot_username The bot's @username
bot_name The bot's display name
webhook_secret Auto-generated secret for webhook verification

How it works

Customer sends message to your Telegram bot
    → Telegram sends update to NotifyBulk webhook
    → Message appears in Inbox

The webhook URL is registered automatically in the format:
https://admin.notifybulk.com/webhooks/telegram.php?store_id=X


Sending replies

Open the conversation in Inbox and type your reply. The message is sent as a Telegram message from your bot.


Bot commands (optional)

You can set bot commands via BotFather to give users a menu:

  1. Send /setcommands to @BotFather
  2. Select your bot
  3. Enter commands in the format:
    start - Start a conversation
    help - Get help
    

These are displayed to users in the Telegram app but are handled by your agents via the inbox.


Troubleshooting

Problem Solution
"Invalid token" error Double-check the token copied from BotFather — no extra spaces
Messages not arriving The webhook may have been overwritten. Reconnect the channel to re-register it
Bot not responding Verify the channel shows "Connected" status in Inbox → Channels
Webhook registration failed The platform URL must be publicly accessible over HTTPS