You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
657 B
24 lines
657 B
#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; }
|
|
}
|
|
}
|