code: @ObjectiveCName("findAllDocsWithPeer:")
      public Command<List<MessageSearchEntity>> findAllDocs(Peer peer) {
          return callback -> modules.getSearchModule().findAllDocs(peer)
                  .then(v -> callback.onResult(v))
                  .failure(e -> callback.onError(e));
      }
docs: Finding all doc messages
  
  @param peer peer for search
  @return found messages