Constructor DiscordStringSelectComponentOption
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
DiscordStringSelectComponentOption(string, string, string, bool, DiscordComponentEmoji)
Constructs a new DiscordStringSelectComponentOption.
public DiscordStringSelectComponentOption(string label, string value, string description = null, bool isDefault = false, DiscordComponentEmoji emoji = null)
Parameters
label
stringThe label of this option.
value
stringThe value of this option.
description
stringDescription of the option.
isDefault
boolWhether this option is default. If true, this option will be pre-selected.
emoji
DiscordComponentEmojiThe emoji to set with this option.