skip to Main Content

Python bot (telebot) SyntaxError – Telegram API

when creating my own telegram bot I encountered an error File "c:UsersКириллDesktoppython_bot — копияmain_part.py", line 7 bot.polling(none_stop=True, interval=0) ^ SyntaxError: invalid syntax part with code: bot = TeleBot('ToKeN') @bot.message_handler(content_types=['text']) bot.polling(none_stop=True, interval=0)

VIEW QUESTION
Back To Top
Search