Table of Contents

Class CheckboxComponent

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a message component of type Checkbox.

public class CheckboxComponent : IInteractableComponent, IMessageComponent
Inheritance
CheckboxComponent
Implements
Inherited Members

Properties

CustomId

Gets the custom ID of this component.

public string CustomId { get; }

Property Value

string

DefaultState

Gets the default state of this checkbox.

public bool? DefaultState { get; }

Property Value

bool?

Id

Gets the ID of this component.

public int? Id { get; }

Property Value

int?

Type

Gets the ComponentType of this Message Component.

public ComponentType Type { get; }

Property Value

ComponentType

Methods

ToBuilder()

public CheckboxBuilder ToBuilder()

Returns

CheckboxBuilder