Constructor DiscordApplicationCommandOptionChoice
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
DiscordApplicationCommandOptionChoice(string, object, DiscordApplicationCommandLocalization)
Creates a new instance of a DiscordApplicationCommandOptionChoice.
public DiscordApplicationCommandOptionChoice(string name, object value, DiscordApplicationCommandLocalization nameLocalizations = null)
Parameters
name
stringThe name of the parameter choice.
value
objectThe value of the parameter choice.
nameLocalizations
DiscordApplicationCommandLocalizationThe localizations of the parameter choice name.