Table of Contents

Method AddCheckboxGroup

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AddCheckboxGroup(DiscordCheckboxGroupComponent, string, string?)

Adds a group of checkboxes to this modal.

public DiscordModalBuilder AddCheckboxGroup(DiscordCheckboxGroupComponent checkboxGroup, string label, string? description = null)

Parameters

checkboxGroup DiscordCheckboxGroupComponent

The group of checkboxes to add to this modal.

label string

A label text shown above the checkbox group. Each individual checkbox has its own label.

description string

An optional description for the checkbox group. Each individual checkbox may have its own description.

Returns

DiscordModalBuilder

The builder instance for chaining.