Interface BotUpdatesPoller

    • Method Detail

      • setUpdatesSupplier

        void setUpdatesSupplier​(UpdatesSupplier supplier)
      • setExceptionHandler

        void setExceptionHandler​(ExceptionHandler exceptionHandler)
      • start

        void start()
        Starts the bot poller
      • stop

        void stop()
        Stops the bot poller
      • running

        boolean running()
        Check if the bot poller is running
        Returns:
        True if the bot is running