#pragma warning disable CS1591 using Newtonsoft.Json; using System.Collections.Generic; namespace Discord.API { internal class Presence { [JsonProperty("user")] public User User { get; set; } [JsonProperty("guild_id")] public Optional GuildId { get; set; } [JsonProperty("status")] public UserStatus Status { get; set; } [JsonProperty("game")] public Game Game { get; set; } [JsonProperty("roles")] public Optional Roles { get; set; } [JsonProperty("nick")] public Optional Nick { get; set; } // This property is a Dictionary where each key is the ClientType // and the values are the current client status. // The client status values are all the same. // Example: // "client_status": { "desktop": "dnd", "mobile": "dnd" } [JsonProperty("client_status")] public Optional> ClientStatus { get; set; } } }