Answer the question
In order to leave comments, you need to log in
How to change InlineKeyboardMarkup (Java)?
Hello. I want to change the already sent built-in keyboard (InlineKeyboardMarkup), but nothing happens.
I change it by sending EditMessageText:
new EditMessageText()
.setChatId(update.getCallbackQuery().getMessage().getChatId())
.setMessageId(update.getCallbackQuery().getMessage().getMessageId())
.setReplyMarkup(getInlineKeyboardMarkupPageFirst())
.setText("Новый текст");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question