Made a simple telegram bot:
import telebot @bot.message_handler(content_types=["text"]) def repeat_all_messages(message): if (message.text.split(" ")[0].upper() == 'BOT,'): bot.send_message(message.chat.id, 'I\'m here')
Everything works fine, but when I add it to a group chat, it is silent. Tell me how to make it adapted to group chats?