Interface IUnknownUpdateHandler

All Superinterfaces:
ITelegramHandler

public interface IUnknownUpdateHandler extends ITelegramHandler
  • Method Details

    • onUnhandledUpdate

      boolean onUnhandledUpdate(AbstractTelegramBot bot, org.telegram.telegrambots.meta.api.objects.Update update) throws org.telegram.telegrambots.meta.exceptions.TelegramApiException
      Fired unhandled update is received
      Parameters:
      bot - the bot
      update - the update
      Returns:
      true if handler 'consumed' that event, aborting notification to other handlers, false otherwise, continuing to look for handler that would return true
      Throws:
      org.telegram.telegrambots.meta.exceptions.TelegramApiException - the exception