Answer the question
In order to leave comments, you need to log in
How to make a link in callback_data?
def send_message(botToken, chat_id):
keyboard =
reply_markup = InlineKeyboardMarkup(keyboard)
data = {"chat_id": chat_id,
"text": "@tetet",
"reply_markup": json.dumps(reply_markup.to_dict())}
response = requests.post(' https://api.telegram.org/bot&parse_mode=Markdown&r... json.dumps(reply_markup.to_dict()))
return
It is necessary so that when you click on the button, you go to the site
Answer the question
In order to leave comments, you need to log in
types.InlineKeyboardButton(text="GitHub", url="https://github.com")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question