простой эхо-бот в телеграмме ошибка имени
NameError: name 'apihelper' is not defined
код:
import telebot;
TOKEN = "<token_string>"
bot = telebot.TeleBot("")
apihelper.proxy = {'https':'socks5://5.133.198.165:24382'}
@bot.message_handler(content_types=["text"])
def get_text_messages(message):
if message.text == "Привет ":
bot.send_message(message.from_user.id, "Привет, чем я могу тебе помочь? ")
elif message.text == "/help":
bot.send_message(message.from_user.id, "Напиши привет. ")
else:
bot.send_message(message.from_user.id, "Я тебя на понимаю, напиши /help. ")
bot.polling(none_stop=True, interval=0)