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.

GuildMember.cs 797 B

12345678910111213141516171819202122232425
  1. using Newtonsoft.Json;
  2. using System;
  3. namespace Discord.API
  4. {
  5. internal class GuildMember
  6. {
  7. [JsonProperty("user")]
  8. public User User { get; set; }
  9. [JsonProperty("nick")]
  10. public Optional<string> Nick { get; set; }
  11. [JsonProperty("roles")]
  12. public Optional<ulong[]> Roles { get; set; }
  13. [JsonProperty("joined_at")]
  14. public Optional<DateTimeOffset> JoinedAt { get; set; }
  15. [JsonProperty("deaf")]
  16. public Optional<bool> Deaf { get; set; }
  17. [JsonProperty("mute")]
  18. public Optional<bool> Mute { get; set; }
  19. [JsonProperty("pending")]
  20. public Optional<bool> Pending { get; set; }
  21. [JsonProperty("premium_since")]
  22. public Optional<DateTimeOffset?> PremiumSince { get; set; }
  23. }
  24. }