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.

CreatePostParams.cs 709 B

12345678910111213141516171819202122232425262728
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Discord.API.Rest
  8. {
  9. internal class CreatePostParams
  10. {
  11. // thread
  12. [JsonProperty("name")]
  13. public string Title { get; set; }
  14. [JsonProperty("auto_archive_duration")]
  15. public ThreadArchiveDuration ArchiveDuration { get; set; }
  16. [JsonProperty("rate_limit_per_user")]
  17. public Optional<int?> Slowmode { get; set; }
  18. [JsonProperty("message")]
  19. public ForumThreadMessage Message { get; set; }
  20. [JsonProperty("applied_tags")]
  21. public Optional<ulong[]> Tags { get; set; }
  22. }
  23. }