Class CallbackQueryHandler

java.lang.Object
io.github.yvasyliev.forwarder.telegram.bot.service.CallbackQueryHandler
All Implemented Interfaces:
TelegramEventHandler<org.telegram.telegrambots.meta.api.objects.CallbackQuery>

@Service public class CallbackQueryHandler extends Object implements TelegramEventHandler<org.telegram.telegrambots.meta.api.objects.CallbackQuery>
Handles incoming Telegram callback queries by mapping them to commands. It retrieves the command bean from the application context and executes it.