java-telegram-bot-api
java-telegram-bot-api copied to clipboard
callbackQuery's message() is deprecated
I want to get Update -> callbackQuery -> message -> replyMarkup But message() function is deprecated that says use maybeInaccessibleMessage instead. Unfortunately, maybeInaccessibleMessage has not replyMarkup.
The goal is updating message's InlineKeyboardButtons. Or how can I achieve this in another way?