import telebot
import config
bot = telebot.TeleBot(config.TOKEN)
@bot.messege_handler(content_types=['text'])
def lalala(massage):
bot.send_message(message.chat.id, massage.text)
# RUN
bot.polling(none_stop=True)
Traceback (most recent call last):
File "/Users/aleksandr/Desktop/Bot/bot.py", line 6, in <module>
@bot.handler_backends(content_types=['text'])
AttributeError: 'TeleBot' object has no attribute 'handler_backends'
>>>
@bot.messege_handler(content_types=['text'])
@bot.handler_backends(content_types=['text'])
@bot.message_handler(content_types=['text'])