Table of Contents

Constructor DiscordCheckboxGroupComponentOption

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

DiscordCheckboxGroupComponentOption(string, string, string?, bool)

Creates a new checkbox group option.

public DiscordCheckboxGroupComponentOption(string label, string value, string? description = null, bool isDefault = false)

Parameters

label string

The display label. Max 100 characters.

value string

The option value. Max 100 characters.

description string

An optional description. Max 100 characters.

isDefault bool

Whether this option should be selected by default.