code: async def loop(self):
          
          self._running = True
          while self._running:
              updates = await self.api_call(
                  "getUpdates", offset=self._offset + 1, timeout=self.api_timeout
              )
              self._process_updates(updates)
docs: Return bot's main loop as coroutine. Use with asyncio.
  
          :Example:
  
          >>> loop = asyncio.get_event_loop()
          >>> loop.run_until_complete(bot.loop())
  
          or
  
          >>> loop = asyncio.get_event_loop()
          >>> loop.create_task(bot.loop())