Answer the question
In order to leave comments, you need to log in
TelegramBotAPI Python gives an error, what should I do?
import telebot
bot = telebot.TeleBot('910600423:AAGretCvuR1BoHB5srtYTPy5ovQJjzWtpCM')
@bot.message_handler(commands=['start'])
def sendmessage(message):
bot.send_message(message.chat.id, 'Тест1')
bot.polling(none_stop=True)
Throws error on startupAnswer the question
In order to leave comments, you need to log in
Just put it on pythonanywhere and you won't need to start vpn every time.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question