Table of Contents

Constructor DiscordCheckboxComponent

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

DiscordCheckboxComponent(string, bool?)

Creates a new checkbox component.

public DiscordCheckboxComponent(string customId, bool? selectedByDefault = null)

Parameters

customId string

The custom ID for this component.

selectedByDefault bool?

Indicates whether this component is selected by default.