Started work on #1
This commit is contained in:
13
TwitchDesktopNotifications/JsonStructure/SteamersToNotify.cs
Normal file
13
TwitchDesktopNotifications/JsonStructure/SteamersToNotify.cs
Normal 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>();
|
||||
}
|
||||
}
|
||||
@@ -17,5 +17,8 @@ namespace TwitchDesktopNotifications.JsonStructure
|
||||
|
||||
[JsonPropertyName("user_data")]
|
||||
public UserData UserData { get; set; }
|
||||
|
||||
[JsonPropertyName("notifications_for")]
|
||||
public SteamersToNotify SteamersToNotify { get; set; };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user