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¶
- Open Telegram and search for @BotFather
- Send
/newbot - Choose a display name for your bot (e.g. "Acme Support")
- Choose a username ending in
bot(e.g.acme_support_bot) - BotFather will send you a token like:
7123456789:AAHdqTcvCH1vGWJxfSeofSOs0K73Xc3g - Copy that token — you'll need it in the next step
Connecting Telegram¶
- Go to Inbox → Channels
- Click Connect on the Telegram card
- Paste your Bot Token in the field
- Click Validate — the platform will verify the token with Telegram and show the bot's name
- 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:
- Send
/setcommandsto @BotFather - Select your bot
- Enter commands in the format:
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 |