Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
howdy ho is his code
@bot.message_handler(commands=['start'])
def welcome(message):
sti = open('путь до каталога/название.webp', 'rb')
bot.send_sticker(message.chat.id, sti)
bot.send_message(message.chat.id, "Добро пожаловать, {0.first_name}!\nЯ - <b>{1.first_name}</b>, бот созданный чтобы быть подопытным кроликом.".format(message.from_user, bot.get_me()),
parse_mode='html')
I did this - I sent (himself) a picture to the bot, remembered its ID on the bot, and then sent it to the user. To this day it works.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question