Class OpenUrl
Namespace: Void.Minecraft.Components.Text.Events.Actions.Click
Assembly: Void.Minecraft.dll
Represents a click action that asks the client to open a URL.
public record OpenUrl : IClickEventAction, IEquatable<OpenUrl>Inheritance
Implements
IClickEventAction, IEquatable<OpenUrl>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
OpenUrl(string)
Represents a click action that asks the client to open a URL.
public OpenUrl(string Url)Parameters
Url string
The URL supplied to the client.
Properties
ActionName
Gets the open_url click-action identifier.
public string ActionName { get; }Property Value
Url
The URL supplied to the client.
public string Url { get; init; }