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/MessageReaction.cs

28 lines
652 B
C#

using Newtonsoft.Json;
namespace Maki.Structures.Messages
{
/// <summary>
/// Discord API Message Reaction structure
/// </summary>
internal struct MessageReaction
{
/// <summary>
/// times this emoji has been used to react
/// </summary>
[JsonProperty("count")]
public int Times;
/// <summary>
/// whether the current user reacted using this emoji
/// </summary>
[JsonProperty("me")]
public bool ByMe;
/// <summary>
/// emoji information
/// </summary>
[JsonProperty("emoji")]
public Emoji Emoji;
}
}