using Newtonsoft.Json;
using System;
namespace Maki.Structures.Embeds
{
///
/// Discord API Embed structure
///
internal struct Embed
{
///
/// title of embed
///
[JsonProperty("title")]
public string Title;
///
/// type of embed (always 'rich' for webhook embeds)
///
[JsonProperty("type")]
public string Type;
///
/// description of embed
///
[JsonProperty("description")]
public string Description;
///
/// url of embed
///
[JsonProperty("url")]
public string Url;
///
/// timestamp of embed content
///
[JsonProperty("timestamp")]
public DateTime? Timestamp;
///
/// colour code of the embed
///
[JsonProperty("color")]
public uint Colour;
///
/// footer information
///
[JsonProperty("footer")]
public EmbedFooter? Footer;
///
/// image information
///
[JsonProperty("image")]
public EmbedImage? Image;
///
/// thumbnail information
///
[JsonProperty("thumbnail")]
public EmbedImage? Thumbnail;
///
/// video information
///
[JsonProperty("video")]
public EmbedVideo? Video;
///
/// provider information
///
[JsonProperty("provider")]
public EmbedProvider? Provider;
///
/// author information
///
[JsonProperty("author")]
public EmbedAuthor? Author;
///
/// fields information
///
[JsonProperty("fields")]
public EmbedField[] Fields;
}
}