TeleBot on Heroku: AttributeError: 'TeleBot' object has no attribute 'message_handler'
I tried to deploy my telegram bot on heroku with GitHub repository and after running the heroku run python bot.py in the heroku website console i get this:
Traceback (most recent call last):
File "bot.py", line 29, in <module>
@bot.message_handler(commands=['start'])
AttributeError: 'TeleBot' object has no attribute 'message_handler'
all dependencies are mentioned in requirements.txt and even the python intepreter in runtime.txt . Help me!)