docs: PeerOptions setPeerOptions(Peer peer, PeerOptions peerOptions) throws InvalidArgumentException {
          if (initialized) {
              throw new InvalidArgumentException(format("Channel %s already initialized.", name));
          }
  
          checkPeer(peer);
          PeerOptions ret = getPeersOptions(peer);
          removePeerInternal(peer);
          addPeer(peer, peerOptions);
  
          return ret;
  
      }