Telegram
Connect a Telegram bot to NexaDesk for AI-powered messaging
Connect a Telegram bot to NexaDesk to handle Telegram conversations with your AI chatbot. Messages appear in your unified inbox alongside other channels.
Prerequisites
- A Telegram account
- A Telegram bot (created via @BotFather)
- Your NexaDesk chatbot configured and trained
Creating a Telegram Bot
If you do not already have a Telegram bot:
- Open Telegram and search for @BotFather
- Send
/newbot - Follow the prompts to set a name and username for your bot
- BotFather will give you a bot token — copy it
Connecting to NexaDesk
- In NexaDesk, go to Settings > Integrations > Telegram
- Click Connect Telegram
- Paste your bot token from BotFather
- Select which chatbot should handle Telegram messages
- Click Save
NexaDesk registers a webhook with Telegram to receive messages in real time.
Features
- AI responses — Your trained chatbot answers Telegram messages automatically
- Agent handoff — Escalate to a human agent when needed
- Rich messages — Text, images, and documents
- Conversation history — Full message history in NexaDesk
- Contact linking — Telegram users are linked to NexaDesk contacts
Testing
- Open Telegram and search for your bot by username
- Send a message
- Check your NexaDesk inbox — the conversation should appear with a Telegram badge
- The AI chatbot should respond automatically
Bot Commands
You can configure custom bot commands in BotFather that map to actions in NexaDesk:
/start— Triggers the welcome message/help— Returns a help text configured in your chatbot settings/agent— Requests escalation to a human agent
Limitations
- Telegram bots cannot initiate conversations — the user must message the bot first
- Group chat support is limited to mentions of the bot
- Voice messages are received but not transcribed

