namespace DysonNetwork.Sphere.Connection.WebReader;
///
/// The link embed is a part of the embeddable implementations
/// It can be used in the post or messages' meta's embeds fields
///
public class LinkEmbed : IEmbeddable
{
public string Type => "link";
///
/// The original URL that was processed
///
public required string Url { get; set; }
///
/// Title of the linked content (from OpenGraph og:title, meta title, or page title)
///
public string? Title { get; set; }
///
/// Description of the linked content (from OpenGraph og:description or meta description)
///
public string? Description { get; set; }
///
/// URL to the thumbnail image (from OpenGraph og:image or other meta tags)
///
public string? ImageUrl { get; set; }
///
/// The favicon URL of the site
///
public string? FaviconUrl { get; set; }
///
/// The site name (from OpenGraph og:site_name)
///
public string? SiteName { get; set; }
///
/// Type of the content (from OpenGraph og:type)
///
public string? ContentType { get; set; }
///
/// Author of the content if available
///
public string? Author { get; set; }
///
/// Published date of the content if available
///
public DateTime? PublishedDate { get; set; }
}