29 lines
652 B
C#
29 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;
|
|||
|
}
|
|||
|
}
|