import telebot from app import chatbot # Ye app.py ka chatbot function import karega # Telegram bot token TOKEN = "7881901341:AAEaE5gndeORmCuyzSwOyf2ELFLXHneCpiw" bot = telebot.TeleBot(TOKEN) # Message handle karna @bot.message_handler(func=lambda message: True) def handle_message(message): user_input = message.text bot_reply = chatbot(user_input) bot.send_message(message.chat.id, bot_reply) # Bot start karna print("🤖 Telegram bot running...") bot.polling()