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.

InviteMetadata.cs 509 B

12345678910111213141516171819
  1. using Newtonsoft.Json;
  2. using System;
  3. namespace Discord.API
  4. {
  5. internal class InviteMetadata : Invite
  6. {
  7. [JsonProperty("uses")]
  8. public int Uses { get; set; }
  9. [JsonProperty("max_uses")]
  10. public int MaxUses { get; set; }
  11. [JsonProperty("max_age")]
  12. public int MaxAge { get; set; }
  13. [JsonProperty("temporary")]
  14. public bool Temporary { get; set; }
  15. [JsonProperty("created_at")]
  16. public DateTimeOffset CreatedAt { get; set; }
  17. }
  18. }