U
U
uIitka2021-06-08 19:28:21
Python
uIitka, 2021-06-08 19:28:21

Is it possible to remove Inline keyboard in telegram bot?

Depending on the if conditions, I need to add buttons to the keyboard.
Every time the conditions are met, it means that the buttons will be different
. Can I somehow delete it after sending the keyboard and, roughly speaking, in the next cycle, create it again with the necessary other buttons?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexa2007, 2021-06-08
@uIitka

To remove the keyboard there is a special method in the api. But this is not always necessary, only if it needs to be removed. But in your case, you just need to send a new one. And she will change.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question