code: def download(self, file: Optional[IO[bytes]]=None,
                   duration_timeout: Optional[float]=None):
          '''Download content.
  
          Args:
              file: An optional file object for the document contents.
              duration_timeout: Maximum time in seconds of which the
                  entire file must be read.
  
          Returns:
              Response: An instance of :class:`.http.request.Response`.
  
          See :meth:`WebClient.session` for proper usage of this function.
  
          Coroutine.
          '''
          yield from \
              self._current_session.download(file, duration_timeout=duration_timeoutf download(self, file: Optional[IO[bytes]]=None,
                   duration_timeout: Optional[float]=None):
          '''Download content.
  
          Args:
              file: An optional file object for the document contents.
              duration_timeout: Maximum time in seconds of which the
                  entire file must be read.
  
          Returns:
              Response: An instance of :class:`.http.request.Response`.
  
          See :meth:`WebClient.session` for proper usage of this function.
  
          Coroutine.
          '''
          yield from \
              self._current_session.download(file, duration_timeout=duration_timeout)
docs: Download content.
  
          Args:
              file: An optional file object for the document contents.
              duration_timeout: Maximum time in seconds of which the
                  entire file must be read.
  
          Returns:
              Response: An instance of :class:`.http.request.Response`.
  
          See :meth:`WebClient.session` for proper usage of this function.
  
          Coroutine.