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
keyboard = types.InlineKeyboardMarkup()
url_button = types.InlineKeyboardButton(text="Перейти к оплате", url="https://example.com")
keyboard.add(url_button)
@bot.message_handler(content_types=["text"])
def foo(message):
bot.send_message(message.chat.id, "Для пополнения баланса нажмите на кнопку ниже.", reply_markup=keyboard)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question