using Newtonsoft.Json; namespace Maki.Structures.Messages { /// /// Discord API Attachment structure /// internal struct Attachment { /// /// attachment id /// [JsonProperty("id")] public ulong Id; /// /// name of file attached /// [JsonProperty("filename")] public string Filename; /// /// size of file in bytes /// [JsonProperty("size")] public int Size; /// /// source url of file /// [JsonProperty("url")] public string Url; /// /// a proxied url of file /// [JsonProperty("proxy_url")] public string ProxyUrl; /// /// height of file (if image) /// [JsonProperty("height")] public int? Height; /// /// width of file (if image) /// [JsonProperty("width")] public int? Width; } }