A
A
apiwi2021-09-07 23:04:44
Python
apiwi, 2021-09-07 23:04:44

Telebot How to make a button with a transition to the user?

It is necessary that when clicking on the button, the person is thrown into the support profile
bot.py:
bot.send_message(id, texts.error, reply_markup=kb.admin_link)

kb.py:
admin_link = types.InlineKeyboardMarkup(row_width=1)
admin_link.add( InlineKeyboardButton('Support', url=' tg://user?id=1708379789 '))

I tried this, nothing happens when you click on the button \
Thank you for your help :)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
pecenuska2135, 2021-09-07
@apiwi

https://t.me/blabla

A
apiwi, 2021-09-07
@apiwi

Through a short id it works, but through a digital id how to do this?

A
alekssamos, 2021-09-08
@alekssamos

tg://user?id=your digital ID

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question