Телеграмм бот на Python , в cmd выдает ошибку def async(): ^ SyntaxError: invalid syntax
import telebot
bot = telebot.TeleBot(TOKEN)
@bot.message_handler(content_types=['text'])
def send_echo(message):
bot.reply_to(message, message.text)
bot.polling (none_stop = True)
ОШИБКА В CMD :
C:\Users\79117\learn python>python sef.py Traceback (most recent call last): File "C:\Users\79117\learn python\sef.py", line 1, in import telebot File "C:\Users\79117\AppData\Local\Programs\Python\Python39\lib\site-packages\telebot_init_.py", line 463 def async(): ^ SyntaxError: invalid syntax