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
Inheritance
System.Object
DiscordApplicationCommandOptionChoiceData
Implements
System.IEquatable<DiscordApplicationCommandOptionChoiceData>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|
System.String |
Value
Value of the choice, up to 100 characters if string.
Declaration
[JsonPropertyName("value")]
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Implements
System.IEquatable<T>