using System.Text.Json.Serialization;
namespace Geekbot.Core.Interactions.Embed
{
public record EmbedAuthor
{
///
/// name of author
///
[JsonPropertyName("name")]
public string Name { get; set; }
///
/// url of author
///
[JsonPropertyName("url")]
public string Url { get; set; }
///
/// url of author icon (only supports http(s) and attachments)
///
[JsonPropertyName("icon_url")]
public string IconUrl { get; set; }
///
/// a proxied url of author icon
///
[JsonPropertyName("proxy_icon_url")]
public string ProxyIconUrl { get; set; }
}
}