import telebot
TOKEN = 'token'
bot=telebot.Telebot = TOKEN
@bot.message_handler(commands=['start'])
def start(message):
bot.send_sticker(message.chat.id, 'CAACAgIAAxkBAAECnZVg-UPv8J7kPhnbCpqULmLItyskwwACSAEAAntOKhBDvsTRe_qU_yAE')
терминал выдает:
kirzhq@MacBook-Air-Kirill ~ % /usr/local/bin/python3 /Users/kirzhq/Documents/Progrm/bot.py
Traceback (most recent call last):
File "/Users/kirzhq/Documents/Progrm/bot.py", line 6, in
@bot.message_handler(commands=['start'])
AttributeError: 'str' object has no attribute 'message_handler'
?