
06.09.2024, 22:44
|
|
Новичок
Регистрация: 31.08.2024
Сообщений: 14
С нами:
896800
Репутация:
3
|
|
Написал код для теста , выходит ошибка «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()
|
|
|