import telebot
bot = telebot.TeleBot(token='Key')
@bot.message_handler(commands=['start'])
def start(message):
bot.send_message(message.chat.id, 'Привет')
bot.polling(non_stop=True)
Error code: 409. Description: Conflict: can't use getUpdates method while webhook is active; use deleteWebhook to delete the webhook first
bot.infinity_polling()