java-telegram-bot-api icon indicating copy to clipboard operation
java-telegram-bot-api copied to clipboard

callbackQuery's message() is deprecated

Open Donaboyev opened this issue 6 months ago • 1 comments

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?

Donaboyev avatar Aug 20 '24 12:08 Donaboyev