Home>

@searchIT_bookbot is an example. When the button is pressed, the old keyboard is removed and a new one appears. She has new text on top and buttons.

Library -pytelegrambotapi, language -Python

At first I used edit_message_reply_markup , but you cannot change the text above the buttons there