Archived
1
0
Fork 0
This repository has been archived on 2024-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
maki/Maki/Structures/Embeds/EmbedImage.cs
2017-05-14 14:02:51 +02:00

35 lines
808 B
C#

using Newtonsoft.Json;
namespace Maki.Structures.Embeds
{
/// <summary>
/// Discord API Embed Image and Thumbnail structure
/// </summary>
internal struct EmbedImage
{
/// <summary>
/// source url of thumbnail (only supports http(s) and attachments)
/// </summary>
[JsonProperty("url")]
public string Url;
/// <summary>
/// a proxied url of the thumbnail
/// </summary>
[JsonProperty("proxy_url")]
public string ProxyUrl;
/// <summary>
/// height of thumbnail
/// </summary>
[JsonProperty("height")]
public int Height;
/// <summary>
/// width of thumbnail
/// </summary>
[JsonProperty("width")]
public int Width;
}
}