Documentation Index
Fetch the complete documentation index at: https://docs.insitechat.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Deploy your InsiteChat chatbot as a Telegram bot. Visitors message your bot on Telegram and receive instant AI-powered answers drawn from the same knowledge base as your website chatbot — same training data, same quality.Setup
Create a bot via botfather
Open Telegram and search for @BotFather. Send
/newbot, give it a name and username. BotFather will give you a bot token (looks like 123456789:ABCdefGHI...).Connect in InsiteChat
Go to your chatbot → Webhooks tab → find the Telegram card. Paste the bot token and click Connect Telegram Bot.
How it works
When a user messages your Telegram bot:- Telegram sends the message to InsiteChat via webhook
- InsiteChat runs the full RAG pipeline (hybrid search + context retrieval)
- The AI generates a response using your trained knowledge base
- The response is sent back to the user on Telegram
Features
- Same knowledge base — uses the exact same training data as your website chatbot
- Conversation history — maintains context across messages (10-turn window)
- Auto-greeting — sends your chatbot’s greeting message on
/start - Plan quota enforcement — respects your billing plan limits
- Lead + conversation webhooks — fires the same webhook events as website chat
Disconnecting
Click Disconnect on the Telegram card. The bot will stop responding to messages immediately.Limitations
- Responses are text-only (no rich formatting like the web widget)
- No lead form — use a different channel for lead capture
- Bot must be messaged first by the user (Telegram policy)
