using System.Text.Json.Serialization;
namespace Geekbot.Interactions.Embed
{
///
public record EmbedThumbnail
{
///
/// source url of thumbnail (only supports http(s) and attachments)
///
[JsonPropertyName("url")]
public string Url { get; set; }
///
/// a proxied url of the thumbnail
///
[JsonPropertyName("proxy_url")]
public string ProxyUrl { get; set; }
///
/// height of thumbnail
///
[JsonPropertyName("height")]
public int Height { get; set; }
///
/// width of thumbnail
///
[JsonPropertyName("width")]
public int Width { get; set; }
}
}