mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 12:32:03 -04:00
ID is a string apparently
This commit is contained in:
@@ -119,7 +119,7 @@ public class TwitchGraphQl(string? proxy = null, CancellationToken cancellationT
|
|||||||
|
|
||||||
returnData.IsLive = true;
|
returnData.IsLive = true;
|
||||||
returnData.Id = responseContent.GetProperty("data").GetProperty("user").GetProperty("stream").GetProperty("id")
|
returnData.Id = responseContent.GetProperty("data").GetProperty("user").GetProperty("stream").GetProperty("id")
|
||||||
.GetInt64();
|
.GetString();
|
||||||
returnData.ViewerCount = responseContent.GetProperty("data").GetProperty("user").GetProperty("stream").GetProperty("viewersCount")
|
returnData.ViewerCount = responseContent.GetProperty("data").GetProperty("user").GetProperty("stream").GetProperty("viewersCount")
|
||||||
.GetInt32();
|
.GetInt32();
|
||||||
return returnData;
|
return returnData;
|
||||||
@@ -146,5 +146,5 @@ public class TwitchGraphQlModel
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stream ID returned by the GraphQL endpoint. null if none
|
/// Stream ID returned by the GraphQL endpoint. null if none
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public long? Id { get; set; }
|
public string? Id { get; set; }
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user