Telegram Setup - Connect a Telegram Bot to ChatMaxima
Connect a Telegram bot to ChatMaxima using a BotFather API token. Step-by-step guide to create the bot, paste the token, and receive messages.
Overview
Connect a Telegram bot to ChatMaxima to manage Telegram conversations from the same shared inbox as your other channels. You create a bot with Telegram's @BotFather, copy its API token, and paste it into ChatMaxima. This guide follows the actual connect flow in the dashboard.
Prerequisites
Before you begin, ensure you have:
- A Telegram account
- The Telegram app installed (mobile or desktop)
Note: No payment or external account beyond Telegram is required.
Step 1: Create a Bot with BotFather
- Open the Telegram app
- Search for @BotFather in the search bar
- Open the chat and send /start to see the list of commands
- Send /newbot and follow the instructions to name your bot
- BotFather confirms the bot is ready and gives you a link and an API token
- Copy the API token
Step 2: Open the Telegram Channel
- In ChatMaxima, go to Settings > Channels
- Select Telegram
Step 3: Paste the Token and Submit
- In the Telegram Bot API field, paste the token you copied from BotFather
- Click Submit
All incoming messages from Telegram are now displayed in the ChatMaxima Inbox.
Connecting an Existing Bot
If you already have a bot, you can grab its token in three steps:
- Send /mybots to @BotFather
- Choose the bot you want to connect and select API Token
- Copy the token and paste it into the Telegram Bot API field, then Submit
Updating the Token
To keep the connection active or rotate credentials, open the Telegram channel, paste the new Telegram Bot API key, and click Update.
Add Automation
Attach a chatbot to handle Telegram conversations automatically:
- Open Studio and create or open a bot
- Build your welcome message and conversation flow
- Publish the bot and assign it to the Telegram channel
Troubleshooting
Messages not arriving
- Confirm the token was pasted correctly with no extra spaces
- Make sure the bot has not been deleted or revoked in BotFather
- Re-paste the token and click Update
Token rejected
- Generate a fresh token via @BotFather > /mybots > API Token
- Paste the new token and submit again