[CHANGE] Finished impl required data for client
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Manager.YouTube.Models;
|
||||
public class ClientExternalData
|
||||
{
|
||||
public ClientState? State { get; set; }
|
||||
public ClientInformation Information { get; set; } = new();
|
||||
public Channel? Channel { get; set; }
|
||||
public List<string> DatasyncIds { get; set; } = [];
|
||||
|
||||
public string GetDatasyncId()
|
||||
|
@@ -1,9 +0,0 @@
|
||||
namespace Manager.YouTube.Models;
|
||||
|
||||
public class ClientInformation
|
||||
{
|
||||
public string? AccountName { get; set; }
|
||||
public string? AccountHandle { get; set; }
|
||||
public string? Description { get; set; }
|
||||
public bool IsPremiumUser { get; set; }
|
||||
}
|
@@ -1,10 +1,11 @@
|
||||
namespace Manager.YouTube.Models.Innertube;
|
||||
|
||||
public class ChannelFetch
|
||||
public class Channel
|
||||
{
|
||||
public bool NoIndex { get; set; }
|
||||
public bool Unlisted { get; set; }
|
||||
public bool FamilySafe { get; set; }
|
||||
public string? ChannelName { get; set; }
|
||||
public string? Handle { get; set; }
|
||||
public string? Description { get; set; }
|
||||
public List<string> AvailableCountries { get; set; } = [];
|
@@ -4,6 +4,7 @@ namespace Manager.YouTube.Models.Innertube;
|
||||
|
||||
public class ClientState : AdditionalJsonData
|
||||
{
|
||||
public bool IsPremiumUser { get; set; }
|
||||
[JsonPropertyName("INNERTUBE_API_KEY")]
|
||||
public string? InnertubeApiKey { get; set; }
|
||||
|
||||
|
Reference in New Issue
Block a user