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
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
Methods
ToBuilder()
Converts a IMessageComponent to a IMessageComponentBuilder.
public CheckboxBuilder ToBuilder()