@
@
@estluced2021-03-24 06:18:33
Python
@estluced, 2021-03-24 06:18:33

How to handle button clicks in telebot?

I googled a lot and didn't find any information.

There are buttons( InlineKeyboardButton) that are bound to send_message .
First question, how to call the function on click?
Second, how to pass parameters to a function?

Thanks for answers:)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Krostelev, 2021-03-24
_

Googled very badly, there is a lot of information.
Here is an example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question