Table of Contents

Constructor DiscordStringSelectComponentOption

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

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

public DiscordStringSelectComponentOption(string label, string value, string description = null, bool isDefault = false, DiscordComponentEmoji emoji = null)

Parameters

label string

The label of this option.

value string

The value of this option.

description string

Description of the option.

isDefault bool

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

emoji DiscordComponentEmoji

The emoji to set with this option.