Todas las integraciones
Telegram Integration
Create an intelligent Telegram bot powered by your knowledge base. Instant answers for your 1 billion+ potential users.
Como funciona con Telegram
Three steps to launch your AI bot on Telegram.
BotFather Setup
Bot created via BotFather
Bot token received
Bot name configured
Lo que obtienes
AI-powered chat bot for the Telegram platform.
Instant Responses
Your bot responds to any incoming message with an AI-generated answer grounded in your documents.
Group Support
Add the bot to group chats. It responds when mentioned by users in the group.
Fully Automated Setup
Telegram is the most plug-and-play of our messaging integrations -- just paste your BotFather token and InfoLens registers the webhook for you.
Source Citations
Every answer includes a source citation so users can verify the response against the original document.
Configuracion rapida
Build a Telegram bot with the Python SDK.
bot.py
# Telegram bot with InfoLens (Python)
from infolens_rag import InfoLensClient
import telebot
client = InfoLensClient(api_key='pk_live_...')
bot = telebot.TeleBot('YOUR_TELEGRAM_TOKEN')
@bot.message_handler(func=lambda m: True)
def handle(message):
res = client.agents.chat(
api_key='pk_live_...',
message=message.text
)
bot.reply_to(message, res['answer'])
bot.polling()