Table of Contents

Class Button

Namespace
NetCord
Assembly
NetCord.dll
public class Button : ICustomizableButton, IButton, IJsonModel<JsonComponent>
Inheritance
Button
Implements
Inherited Members

Constructors

Button(JsonComponent)

public Button(JsonComponent jsonModel)

Parameters

jsonModel JsonComponent

Properties

CustomId

public string CustomId { get; }

Property Value

string

Disabled

public bool Disabled { get; }

Property Value

bool

Emoji

public EmojiReference? Emoji { get; }

Property Value

EmojiReference

Label

public string? Label { get; }

Property Value

string

Style

public ButtonStyle Style { get; }

Property Value

ButtonStyle