lib/telegram/bot/updates_poller.rb
# Method to stop poller from other thread.
Method to stop poller from other thread.
Method to stop poller from other thread .
def stop
        return unless running
        log { 'Stopping polling bot updates.' }
        @running = false
      end
def stop return unless running log { 'Stopping polling bot updates.' } @running = false end
Method to stop poller from other thread.
Method to stop poller from other thread .