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
labelstringThe label of this option.
valuestringThe value of this option.
descriptionstringDescription of the option.
isDefaultboolWhether this option is default. If true, this option will be pre-selected.
emojiDiscordComponentEmojiThe emoji to set with this option.