A
A
Andrew K2019-03-11 16:00:28
Bots
Andrew K, 2019-03-11 16:00:28

How to add a hyperlink to a telegram bot's response message to a custom command?

In response to a user command, the bot responds with a text message.
How can I add a hyperlink to this text message without displaying the site information below?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
photozoom, 2019-04-09
@photozoom

You can send an inline button with a link.

E
Error4uk, 2019-04-16
@Error4uk

def inline(message):
 key = types.InlineKeyboardMarkup()
but_1 = types.InlineKeyboardButton(text="****", url="https://")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question