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
It's simple
keyboard = telebot.types.InlineKeyboardMarkup()
keyboard.row(
telebot.types.InlineKeyboardButton("Кнопка1", callback_data="btn1"),
telebot.types.InlineKeyboardButton("Кнопка2", callback_data="btn2"),
)
bot.send_photo(message.chat.id, photo='url фото', caption="Подпись к фото", reply_markup=keyboard)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question