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

41 lines
934 B
C#

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;
}
}