Table of Contents

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
DiscordLinkButtonComponent
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.

Label

The text to add to this button. If this is not specified, Emoji must be.

Url

The url to open when pressing this button.