35 lines
795 B
C#
35 lines
795 B
C#
|
using Newtonsoft.Json;
|
|||
|
|
|||
|
namespace Maki.Structures.Embeds
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Discord API Embed Author structure
|
|||
|
/// </summary>
|
|||
|
internal struct EmbedAuthor
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// name of author
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("name")]
|
|||
|
public string Name;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// url of author
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("url")]
|
|||
|
public string Url;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// url of author icon (only supports http(s) and attachments)
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("icon_url")]
|
|||
|
public string IconUrl;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// a proxied url of author icon
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("proxy_icon_url")]
|
|||
|
public string ProxyIconUrl;
|
|||
|
}
|
|||
|
}
|