Table of Contents

Class DiscordApplicationCommandOptionChoice

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents a command parameter choice for a DiscordApplicationCommandOption.

public sealed class DiscordApplicationCommandOptionChoice
Inheritance
DiscordApplicationCommandOptionChoice
Inherited Members

Constructors

DiscordApplicationCommandOptionChoice(string, object, DiscordApplicationCommandLocalization)

Creates a new instance of a DiscordApplicationCommandOptionChoice.

Properties

Name

Gets the name of this choice parameter.

NameLocalizations

Gets the name localizations.

Value

Gets the value of this choice parameter. This will either be a type of int, long, double or string.