Table of Contents

Interface IButtonProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
[JsonConverter(typeof(IButtonProperties.IButtonConverter))]
public interface IButtonProperties

Properties

ComponentType

Type of the component.

ComponentType ComponentType { get; }

Property Value

ComponentType

Disabled

Whether the button is disabled.

bool Disabled { get; set; }

Property Value

bool

Style

Style of the button.

ButtonStyle Style { get; }

Property Value

ButtonStyle

Methods

WithDisabled(bool)

Whether the button is disabled.

IButtonProperties WithDisabled(bool disabled = true)

Parameters

disabled bool

Returns

IButtonProperties