Create all interaction models
This commit is contained in:
parent
209887e237
commit
60547140ea
59 changed files with 1589 additions and 222 deletions
16
src/Core/Interactions/Resolved/Reaction.cs
Normal file
16
src/Core/Interactions/Resolved/Reaction.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Geekbot.Core.Interactions.Resolved
|
||||
{
|
||||
public struct Reaction
|
||||
{
|
||||
[JsonPropertyName("count")]
|
||||
public int Count { get; set; }
|
||||
|
||||
[JsonPropertyName("me")]
|
||||
public bool Me { get; set; }
|
||||
|
||||
[JsonPropertyName("emoji")]
|
||||
public Emoji emoji { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue