+ /**
+ * Constructs a new CustomOnionMessageHandler which calls the relevant methods on this_arg.
+ * This copies the `inner` pointer in this_arg and thus the returned CustomOnionMessageHandler must be freed before this_arg is
+ */
+ public as_CustomOnionMessageHandler(): CustomOnionMessageHandler {
+ const ret: bigint = bindings.IgnoringMessageHandler_as_CustomOnionMessageHandler(this.ptr);
+ const ret_hu_conv: CustomOnionMessageHandler = new CustomOnionMessageHandler(null, ret);
+ CommonBase.add_ref_from(ret_hu_conv, this);
+ return ret_hu_conv;
+ }
+