Archived
1
0
Fork 0
This repository has been archived on 2024-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
maki/Maki/Structures/Embeds/EmbedAuthor.cs

35 lines
795 B
C#
Raw Normal View History

2017-05-14 12:02:51 +00:00
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;
}
}