28 lines
663 B
C#
28 lines
663 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Maki.Structures.Embeds
|
|
{
|
|
/// <summary>
|
|
/// Discord API Embed Footer structure
|
|
/// </summary>
|
|
internal struct EmbedFooter
|
|
{
|
|
/// <summary>
|
|
/// footer text
|
|
/// </summary>
|
|
[JsonProperty("text")]
|
|
public string Text;
|
|
|
|
/// <summary>
|
|
/// url of footer icon (only supports http(s) and attachments)
|
|
/// </summary>
|
|
[JsonProperty("icon_url")]
|
|
public string IconUrl;
|
|
|
|
/// <summary>
|
|
/// a proxied url of footer icon
|
|
/// </summary>
|
|
[JsonProperty("proxy_icon_url")]
|
|
public string ProxyIconUrl;
|
|
}
|
|
}
|