Table of Contents

Class JsonButtonComponent

Namespace
NetCord.JsonModels
Assembly
NetCord.dll
public class JsonButtonComponent : JsonComponent
Inheritance
JsonButtonComponent
Inherited Members

Constructors

JsonButtonComponent()

public JsonButtonComponent()

Properties

CustomId

[JsonPropertyName("custom_id")]
public string? CustomId { get; set; }

Property Value

string

Disabled

[JsonPropertyName("disabled")]
public bool? Disabled { get; set; }

Property Value

bool?

Emoji

[JsonPropertyName("emoji")]
public JsonEmoji? Emoji { get; set; }

Property Value

JsonEmoji

Label

[JsonPropertyName("label")]
public string? Label { get; set; }

Property Value

string

SkuId

[JsonPropertyName("sku_id")]
public ulong? SkuId { get; set; }

Property Value

ulong?

Style

[JsonPropertyName("style")]
public ButtonStyle Style { get; set; }

Property Value

ButtonStyle

Url

[JsonPropertyName("url")]
public string? Url { get; set; }

Property Value

string