M
M
Man like everyone2020-08-31 00:37:14
Python
Man like everyone, 2020-08-31 00:37:14

telebot stickers not working, what's wrong?

My code

import telebot

bot = telebot.TeleBot('token')

@bot.message_handler(commands=['start'])
def start_message(message):
    bot.send_message(message.chat.id, 'Привеt, если хочешь узать погоду на завтра напиши /wither')

@bot.message_handler(commands=['hello'])
def wither_message(message):
    bot.send_sticker("CAACAgIAAxkBAAIHVl9MFEpPPYU7ZF5_rq2mgbWLd9LOAAIHBQACXHcJSfnSGFye1QOHGwQ")

bot.polling()


Why don't stickers work???

Does not work((

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kirillinyakin, 2020-08-31
else @Cheloveck

You don't specify where exactly to send the sticker, specify message.chat.id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question