Class DiscordApplicationCommandOptionChoiceData
Represents a discord Application Command Option Choice Structure API model. Docs: https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-choice-structure
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Color_Chan.Discord.Core.Common.API.DataModels.Application
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordApplicationCommandOptionChoiceData : IEquatable<DiscordApplicationCommandOptionChoiceData>
Properties
| Improve this Doc View SourceName
1-100 character choice name.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Value
Value of the choice, up to 100 characters if string.
Declaration
[JsonPropertyName("value")]
public object Value { get; set; }
Property Value
Type | Description |
---|---|
Object |