Search Results for

    Show / Hide Table of Contents

    Class DiscordSelectOptionData

    Represents a discord Select Option Structure API model. Docs: https://discord.com/developers/docs/interactions/message-components#select-menu-object-select-option-structure

    Inheritance
    Object
    DiscordSelectOptionData
    Implements
    IEquatable<DiscordSelectOptionData>
    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.Select
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public class DiscordSelectOptionData : IEquatable<DiscordSelectOptionData>

    Properties

    | Improve this Doc View Source

    Default

    Will render this option as selected by default.

    Declaration
    [JsonPropertyName("default")]
    public bool? Default { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    | Improve this Doc View Source

    Description

    The user-facing name of the option, max 100 characters.

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

    Emoji

    The emoji used. Containing the id, name, and animated.

    Declaration
    [JsonPropertyName("emoji")]
    public DiscordEmojiData Emoji { get; set; }
    Property Value
    Type Description
    DiscordEmojiData
    | Improve this Doc View Source

    Label

    The user-facing name of the option, max 100 characters.

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

    Value

    The dev-define value of the option, max 100 characters.

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

    Implements

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