You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using Newtonsoft.Json;
- using System;
- using System.Collections.Generic;
-
- namespace Discord.API
- {
- internal class Presence
- {
- [JsonProperty("user")]
- public User User { get; set; }
- [JsonProperty("guild_id")]
- public Optional<ulong> GuildId { get; set; }
- [JsonProperty("status")]
- public UserStatus Status { get; set; }
-
- [JsonProperty("roles")]
- public Optional<ulong[]> Roles { get; set; }
- [JsonProperty("nick")]
- public Optional<string> 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<Dictionary<string, string>> ClientStatus { get; set; }
- [JsonProperty("activities")]
- public List<Game> Activities { get; set; }
- [JsonProperty("premium_since")]
- public Optional<DateTimeOffset?> PremiumSince { get; set; }
- }
- }
|