Table of Contents

Class DiscordStringSelectComponentOption

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents options for DiscordBaseSelectComponent.

public sealed class DiscordStringSelectComponentOption : ObservableApiObject
Inheritance
DiscordStringSelectComponentOption
Inherited Members

Constructors

DiscordStringSelectComponentOption(string, string, string, bool, DiscordComponentEmoji)

Constructs a new DiscordStringSelectComponentOption.

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.