Represents a button for Discord Rich Presence.

Static methods

@:native("DiscordButton")staticcreate():DiscordButton

Creates a new instance.

Returns:

A new instance.

Variables

label:ConstCharStar

The label of the button that is displayed to users.

url:ConstCharStar

The URL associated with the button.