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
Disabled
public bool Disabled { get; }
Property Value
Emoji
public EmojiReference? Emoji { get; }
Property Value
Label
public string? Label { get; }
Property Value
Style
public ButtonStyle Style { get; }