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.

AuditLogOptions.cs 1.0 kB

12345678910111213141516171819202122232425262728
  1. using Newtonsoft.Json;
  2. namespace Discord.API
  3. {
  4. //TODO: Complete this with all possible values for options
  5. internal class AuditLogOptions
  6. {
  7. //Message delete
  8. [JsonProperty("count")]
  9. public int? MessageDeleteCount { get; set; } //TODO: what type of int? (returned as string)
  10. [JsonProperty("channel_id")]
  11. public ulong? MessageDeleteChannelId { get; set; }
  12. //Prune
  13. [JsonProperty("delete_member_days")]
  14. public int? PruneDeleteMemberDays { get; set; } //TODO: what type of int? (returned as string)
  15. [JsonProperty("members_removed")]
  16. public int? PruneMembersRemoved { get; set; } //TODO: what type of int? (returned as string)
  17. //Overwrite Update
  18. [JsonProperty("role_name")]
  19. public string OverwriteRoleName { get; set; }
  20. [JsonProperty("type")]
  21. public string OverwriteType { get; set; }
  22. [JsonProperty("id")]
  23. public ulong? OverwriteTargetId { get; set; }
  24. }
  25. }