![]() |
Написал код для теста , выходит ошибка «telebot not attribute polling”
Что то не так с кодом? Вроде телебот обновил. Python: Код:
import telebot from telebot import types import requests bot = telebot.TeleBot('') @bot.message_handler(commands=['start']) def start(message): bot.send_message(message.from_user.id, "Приветствую @{message.from_user.username}!🔥") bot.infinity.polling() |
bot.infinity_polling()
|
Не понял ответ???
Я уже починил |
bot.infinity.polling() - у тебя
bot.infinity_polling() - я ответил Решение проблемы заключалось в этом? |
| Время: 12:39 |