Search Results for

    Show / Hide Table of Contents

    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
    Object
    DiscordApplicationCommandOptionChoiceData
    Implements
    IEquatable<DiscordApplicationCommandOptionChoiceData>
    Inherited Members
    System.Object.Equals(System.Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    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 Source

    Name

    1-100 character choice name.

    Declaration
    [JsonPropertyName("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Value

    Value of the choice, up to 100 characters if string.

    Declaration
    [JsonPropertyName("value")]
    public object Value { get; set; }
    Property Value
    Type Description
    Object

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX