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/Messages/Emoji.cs

41 lines
934 B
C#
Raw Permalink Normal View History

2017-05-14 12:02:51 +00:00
using Newtonsoft.Json;
namespace Maki.Structures.Messages
{
/// <summary>
/// Discord API Emoji structure
/// </summary>
internal struct Emoji
{
/// <summary>
/// id of emoji (if custom emoji)
/// </summary>
[JsonProperty("id")]
public ulong? Id;
/// <summary>
/// name of emoji
/// </summary>
[JsonProperty("name")]
public string Name;
/// <summary>
/// roles this emoji is active for
/// </summary>
[JsonProperty("roles")]
public ulong[] Roles;
/// <summary>
/// whether this emoji must be wrapped in colons
/// </summary>
[JsonProperty("require_colons")]
public bool RequiresColons;
/// <summary>
/// whether this emoji is managed
/// </summary>
[JsonProperty("managed")]
public bool IsManaged;
}
}