Fixed 7tv & Twitch reconnection. Added adbreak, follow, subscription handlers for Twitch. Added multi-chat support. Added support to unsubscribe from Twitch event subs.
This commit is contained in:
		@@ -1,17 +1,18 @@
 | 
			
		||||
namespace TwitchChatTTS.Twitch.Socket.Messages
 | 
			
		||||
{
 | 
			
		||||
    public class ChannelSubscriptionMessage
 | 
			
		||||
    public class ChannelSubscriptionData
 | 
			
		||||
    {
 | 
			
		||||
        public string UserId { get; set; }
 | 
			
		||||
        public string UserLogin { get; set; }
 | 
			
		||||
        public string UserName { get; set; }
 | 
			
		||||
        public string BroadcasterUserId { get; set; }
 | 
			
		||||
        public string BroadcasterUserLogin { get; set; }
 | 
			
		||||
        public string BroadcasterUserName { get; set; }
 | 
			
		||||
        public string ChatterUserId { get; set; }
 | 
			
		||||
        public string ChatterUserLogin { get; set; }
 | 
			
		||||
        public string ChatterUserName { get; set; }
 | 
			
		||||
        public string Tier { get; set; }
 | 
			
		||||
        public TwitchChatMessageInfo Message { get; set; }
 | 
			
		||||
        public int CumulativeMonths { get; set; }
 | 
			
		||||
        public int StreakMonths { get; set; }
 | 
			
		||||
        public int DurationMonths { get; set; }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public class ChannelSubscriptionMessage : ChannelSubscriptionData
 | 
			
		||||
    {
 | 
			
		||||
        public bool IsGifted { get; set; }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user