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.

Attachment.cs 670 B

1234567891011121314151617181920212223
  1. #pragma warning disable CS1591
  2. using Discord.Serialization;
  3. namespace Discord.API
  4. {
  5. internal class Attachment
  6. {
  7. [ModelProperty("id")]
  8. public ulong Id { get; set; }
  9. [ModelProperty("filename")]
  10. public string Filename { get; set; }
  11. [ModelProperty("size")]
  12. public int Size { get; set; }
  13. [ModelProperty("url")]
  14. public string Url { get; set; }
  15. [ModelProperty("proxy_url")]
  16. public string ProxyUrl { get; set; }
  17. [ModelProperty("height")]
  18. public Optional<int> Height { get; set; }
  19. [ModelProperty("width")]
  20. public Optional<int> Width { get; set; }
  21. }
  22. }