public static @NotNull ClickEvent callback(final @NotNull ClickCallback<Audience> function, final ClickCallback.@NotNull Options options) {
    return ClickCallbackInternals.PROVIDER.create(requireNonNull(function, "function"), requireNonNull(options, "options"));
  }
Create a click event that, when clicked, will schedule a callback function to be executed on the server.

@param function the function to execute
@param options options to control how the callback will be stored on the server.
@return a callback click event
@since 4.13.0
api/src/main/java/net/kyori/adventure/text/event/ClickEvent.java