Table of Contents

Class DiscordSelectComponentOption

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Represents options for DiscordSelectComponent.

public sealed class DiscordSelectComponentOption
Inheritance
object
DiscordSelectComponentOption

Constructors

DiscordSelectComponentOption(string, string, string, bool, DiscordComponentEmoji)

Properties

Default

Whether this option is default. If true, this option will be pre-selected. Defaults to false.

Description

The description of this option. This is optional.

Emoji

The emoji of this option. This is optional.

Label

The label to add. This is required.

Value

The value of this option. Akin to the Custom Id of components.