Table of Contents

Constructor DiscordRadioGroupComponent

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

DiscordRadioGroupComponent(string, IReadOnlyList<DiscordRadioGroupOption>, bool?)

Creates a new radio group.

public DiscordRadioGroupComponent(string customId, IReadOnlyList<DiscordRadioGroupOption> options, bool? required = null)

Parameters

customId string

The custom ID of this component.

options IReadOnlyList<DiscordRadioGroupOption>

The options to include within this group, 2-10.

required bool?

Indicates whether responding to this component is required.