Table of Contents

Class CheckboxGroupComponent

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a component of type CheckboxGroup.

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

Properties

CustomId

Gets the custom ID of this component.

public string CustomId { get; }

Property Value

string

Id

Gets the ID of this component.

public int? Id { get; }

Property Value

int?

IsRequired

Gets whether this component requires a file upload to be submitted.

public bool? IsRequired { get; }

Property Value

bool?

MaxValues

Gets the maximum number of files a user can upload.

public int? MaxValues { get; }

Property Value

int?

MinValues

Gets the minimum number of files a user must upload.

public int? MinValues { get; }

Property Value

int?

Options

Gets the options for this checkbox group.

public IReadOnlyCollection<CheckboxGroupOption> Options { get; }

Property Value

IReadOnlyCollection<CheckboxGroupOption>

Type

Gets the ComponentType of this Message Component.

public ComponentType Type { get; }

Property Value

ComponentType

Methods

ToBuilder()

public CheckboxGroupBuilder ToBuilder()

Returns

CheckboxGroupBuilder