Writing echo of Telebot?

Downloaded the module from here https://pypi.org/project/pyTelegramBotAPI/0.3.0/
Used https://github.com/eternnoir/pyTelegramBotAPI
#Telegram bot
import telebot
a = input(a)
bot = telebot.TeleBot("API")
b = input(b)
@bot.message_handler(content_types=['text'])
def send_echo(message):
bot.reply_to(message, message.text)
bot.polling (none_stop = True)
5e269f055f8a2893159379.png
April 4th 20 at 13:07
1 answer
April 4th 20 at 13:09
Solution
The version of Python should be no higher than 3.6

Find more questions by tags PythonTelegram