Started work on #1

This commit is contained in:
Martin Barker
2023-02-03 18:59:07 +00:00
parent 0af2d24b4c
commit 03b620ecec
4 changed files with 72 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
using System.Text.Json.Serialization;
namespace TwitchDesktopNotifications.JsonStructure
{
internal class SteamersToNotify
{
[JsonPropertyName("notifyAll")]
public Boolean notifyAll = true;
[JsonPropertyName("notify")]
public List<String> Streamers { get; set; } = new List<String>();
}
}

View File

@@ -17,5 +17,8 @@ namespace TwitchDesktopNotifications.JsonStructure
[JsonPropertyName("user_data")]
public UserData UserData { get; set; }
[JsonPropertyName("notifications_for")]
public SteamersToNotify SteamersToNotify { get; set; };
}
}