How to connect Telegram to an AI chatbot
Connect your Telegram bot to a Mobitsa AI chatbot so it can answer customers in Telegram.
What you need
- An existing AI chatbot in your Mobitsa workspace.
- A Telegram bot and its token from @BotFather.
If you do not have an AI chatbot yet, create one first. If you have several, choose the one that should answer this Telegram bot’s customers.
Where to get the token
Open @BotFather in Telegram. To create a bot, send /newbot and follow the steps. For an existing bot, select your bot and obtain its API Token. Copy the token and paste it into the Mobitsa connection field. A username such as @your_bot cannot replace a token.
Connect from the catalog
- Open Integrations → Catalog in the correct workspace.
- Click Connect on the Telegram card.
- Select an AI chatbot if it is not already selected.
- Enter a recognizable channel name and paste the bot token.
- Click Save. Mobitsa saves the channel and starts installing the webhook, the address used to receive Telegram messages.
You can also open the AI chatbot → Connections → Add channel → Telegram. Settings apply to the selected chatbot. Cancel closes the window without creating a channel.
If setup is incomplete
A saved channel does not yet prove that Telegram is connected. Wait for the webhook installation result. If the channel was saved but installation is incomplete, open its settings and retry setup. The step-by-step channel editor uses Next to install the webhook. Do not create a second channel just because setup failed.
Checking the token confirms access to the Telegram bot but does not prove that messages are being received.
Verify the result
- Make sure the webhook is installed and both the channel and AI chatbot are enabled.
- Open the exact Telegram bot whose token was saved.
- Send a test message.
- Check that a conversation appears in Mobitsa and the AI chatbot replies.
If there is no reply, check the token, the webhook installation result, and whether the channel and chatbot are enabled. Saving settings and confirming a working conversation are separate checks.