Class DiscordLinkButtonComponent
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents a link button. Clicking a link button does not send an interaction.
public class DiscordLinkButtonComponent : DiscordComponent
- Inheritance
-
objectDiscordLinkButtonComponent
- Inherited Members
Constructors
- DiscordLinkButtonComponent(string, string, bool, DiscordComponentEmoji)
Constructs a new DiscordLinkButtonComponent. This type of button does not send back and interaction when pressed.
Properties
- Disabled
Whether this button can be pressed.
- Emoji
The emoji to add to the button. Can be used in conjunction with a label, or as standalone. Must be added if label is not specified.
- Url
The url to open when pressing this button.