Search Results for

    Show / Hide Table of Contents

    Class DiscordGuildPreviewData

    Represents a discord Guild Preview Structure API model. Docs: https://discord.com/developers/docs/resources/guild#guild-preview-object-guild-preview-structure

    Inheritance
    Object
    DiscordGuildPreviewData
    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.Guild
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public class DiscordGuildPreviewData

    Properties

    | Improve this Doc View Source

    ApproximateMemberCount

    Approximate number of members in this guild, returned from the GET /guilds/{id} endpoint when with_counts is true.

    Declaration
    [JsonPropertyName("approximate_member_count")]
    public int? ApproximateMemberCount { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>
    | Improve this Doc View Source

    ApproximatePresenceCount

    Approximate number of non-offline members in this guild, returned from the GET /guilds/{id} endpoint when with_counts is true.

    Declaration
    [JsonPropertyName("approximate_presence_count")]
    public int? ApproximatePresenceCount { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>
    | Improve this Doc View Source

    Description

    The description for the guild, if the guild is discoverable.

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

    DiscoverySplash

    Discovery splash hash; only present for guilds with the "DISCOVERABLE" feature.

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

    Emojis

    Custom guild emojis.

    Declaration
    [JsonPropertyName("emojis")]
    public IEnumerable<DiscordEmojiData> Emojis { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<DiscordEmojiData>
    | Improve this Doc View Source

    Icon

    Icon hash.

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

    Id

    Guild id.

    Declaration
    [JsonPropertyName("id")]
    public ulong Id { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    Name

    Guild name (2-100 characters, excluding trailing and leading whitespace).

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

    Roles

    Roles in the guild.

    Declaration
    [JsonPropertyName("roles")]
    public IEnumerable<DiscordGuildRoleData> Roles { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<DiscordGuildRoleData>
    | Improve this Doc View Source

    Splash

    Splash hash.

    Declaration
    [JsonPropertyName("splash")]
    public string Splash { get; set; }
    Property Value
    Type Description
    String
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX