Table of Contents

Constructor DiscordCheckboxComponent

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

DiscordCheckboxComponent(string?, bool?)

Creates a new checkbox component with the provided options.

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

Parameters

customId string

The custom id for this component.

isDefault bool?

Whether the checkbox is checked by default.