Table of Contents

Class ApplicationCommandOptionChoice

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class ApplicationCommandOptionChoice : IJsonModel<JsonApplicationCommandOptionChoice>
Inheritance
ApplicationCommandOptionChoice
Implements
Inherited Members

Constructors

ApplicationCommandOptionChoice(JsonApplicationCommandOptionChoice)

public ApplicationCommandOptionChoice(JsonApplicationCommandOptionChoice jsonModel)

Parameters

jsonModel JsonApplicationCommandOptionChoice

Properties

Name

Name of the choice (1-100 characters).

public string Name { get; }

Property Value

string

NameLocalizations

Localizations of Name (1-100 characters each).

public IReadOnlyDictionary<string, string>? NameLocalizations { get; }

Property Value

IReadOnlyDictionary<string, string>

ValueNumeric

Numeric value for the choice.

public double? ValueNumeric { get; }

Property Value

double?

ValueString

String value for the choice.

public string? ValueString { get; }

Property Value

string

ValueType

Type of value of the choice.

public ApplicationCommandOptionChoiceValueType ValueType { get; }

Property Value

ApplicationCommandOptionChoiceValueType