"inline_keyboard": [
[
{
"text": "Download",
"url": "https://sean.cat/"
}
]
]
keyboard = types.InlineKeyboardMarkup()
url_button = types.InlineKeyboardButton(text="proceed to payment", url="https://example.com")
keyboard.add(url_button)
@bot.message_handler(content_types=['text'])
def foo(message):
bot.send_message(message.chat.id "recharge click on the button below.", reply_markup=keyboard)
throws error - Veda commented on April 19th 20 at 12:06
from telebot import types
- Corbin_Paucek commented on April 19th 20 at 12:09