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.

StatusUpdateParams.cs 509 B

123456789101112131415161718
  1. #pragma warning disable CS1591
  2. using Newtonsoft.Json;
  3. namespace Discord.API.Gateway
  4. {
  5. [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
  6. internal class StatusUpdateParams
  7. {
  8. [JsonProperty("status")]
  9. public UserStatus Status { get; set; }
  10. [JsonProperty("since"), Int53]
  11. public long? IdleSince { get; set; }
  12. [JsonProperty("afk")]
  13. public bool IsAFK { get; set; }
  14. [JsonProperty("game")]
  15. public Game Game { get; set; }
  16. }
  17. }