Table of Contents

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 string

The name of the parameter choice.

value object

The value of the parameter choice.

nameLocalizations DiscordApplicationCommandLocalization

The localizations of the parameter choice name.