UnityAction + AddPersistentListener taking arguments

Hello, y want to send some arguments via AddPersistentListener with an UnityAction, but y cant resolve this thanks for the minimum unity docs and horrible minimalistic.

My code so far is this.

UnityEditor.Events.UnityEventTools.AddPersistentListener(currList.children[idChild].button.onClick, new UnityAction(currList.onChildClick(idChild)));

But UnityAction doesnt take the arguments, and y dont understand who create this.

Thanks for any suggestion.

Ok , the method y needed is :
UnityEditor.Events.UnityEventTools.AddIntPersistentListener(currList.children[idChild].button.onClick, currList.onChildClick, idChild);