Create all interaction models
This commit is contained in:
parent
209887e237
commit
60547140ea
59 changed files with 1589 additions and 222 deletions
24
src/Core/Interactions/Request/InteractionResolvedData.cs
Normal file
24
src/Core/Interactions/Request/InteractionResolvedData.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
using Geekbot.Core.Interactions.Resolved;
|
||||
|
||||
namespace Geekbot.Core.Interactions.Request
|
||||
{
|
||||
public class InteractionResolvedData
|
||||
{
|
||||
[JsonPropertyName("users")]
|
||||
public Dictionary<string, User> Users { get; set; }
|
||||
|
||||
[JsonPropertyName("members")]
|
||||
public Dictionary<string, Member> Members { get; set; }
|
||||
|
||||
[JsonPropertyName("roles")]
|
||||
public Dictionary<string, Role> Roles { get; set; }
|
||||
|
||||
[JsonPropertyName("channels")]
|
||||
public Dictionary<string, Channel> Channels { get; set; }
|
||||
|
||||
[JsonPropertyName("messages")]
|
||||
public Dictionary<string, Message> Messages { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue