How to make a button with a link in the telebot python?

5e95ebd3260ae770214560.png
You need to do. Google normal guides not found, please help!:D
April 19th 20 at 11:59
2 answers
April 19th 20 at 12:01
Just go to documentation and read and implement on the desired language to you
https://core.telegram.org/bots/2-0-intro
"inline_keyboard": [
[
{
 "text": "Download",
 "url": "https://sean.cat/"
}
]
 ]
April 19th 20 at 12:03
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)
5e95fb21cd6ac822290570.png
throws error - Veda commented on April 19th 20 at 12:06
Import
from telebot import types - Corbin_Paucek commented on April 19th 20 at 12:09

Find more questions by tags TelegramPython