diff --git a/KfChatDotNetKickBot/Services/TwitchWs.cs b/KfChatDotNetKickBot/Services/TwitchWs.cs index 6bce26a..941249d 100644 --- a/KfChatDotNetKickBot/Services/TwitchWs.cs +++ b/KfChatDotNetKickBot/Services/TwitchWs.cs @@ -101,6 +101,12 @@ public class TwitchWs } } + // Stream start JSON + // {"type":"MESSAGE","data":{"topic":"video-playback-by-id.114122847","message":"{\"server_time\":1718631487,\"play_delay\":0,\"type\":\"stream-up\"}"}} + // View count update (every 30 seconds) + // {"type":"MESSAGE","data":{"topic":"video-playback-by-id.114122847","message":"{\"type\":\"viewcount\",\"server_time\":1718631500.636146,\"viewers\":62}"}} + // {"type":"MESSAGE","data":{"topic":"video-playback-by-id.114122847","message":"{\"type\":\"viewcount\",\"server_time\":1718631530.654308,\"viewers\":162}"}} + // {"type":"MESSAGE","data":{"topic":"video-playback-by-id.114122847","message":"{\"type\":\"viewcount\",\"server_time\":1718631560.551188,\"viewers\":179}"}} private void WsMessageReceived(ResponseMessage message) { if (message.Text == null)