docs: public MacroGroup getMacros(boolean global) throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          Macros request = new Macros();
          request.setType(IQ.Type.get);
          request.setTo(workgroupJID);
          request.setPersonal(!global);
  
          Macros response = connection.createStanzaCollectorAndSend(request).nextResultOrThrow();
          return response.getRootGroup();
      }