35 lines
808 B
C#
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;
|
|||
|
}
|
|||
|
}
|