Files
Discord.Net/src/Discord.Net.Rest/API/Common/Attachment.cs
2017-01-01 23:28:42 -04:00

24 lines
657 B
C#

#pragma warning disable CS1591
using Newtonsoft.Json;
namespace Discord.API
{
internal class Attachment
{
[JsonProperty("id")]
public ulong Id { get; set; }
[JsonProperty("filename")]
public string Filename { get; set; }
[JsonProperty("size")]
public int Size { get; set; }
[JsonProperty("url")]
public string Url { get; set; }
[JsonProperty("proxy_url")]
public string ProxyUrl { get; set; }
[JsonProperty("height")]
public Optional<int> Height { get; set; }
[JsonProperty("width")]
public Optional<int> Width { get; set; }
}
}