diff --git a/Unity-Twitch-Chat/Assets/Package/Runtime/IRCMessages.cs b/Unity-Twitch-Chat/Assets/Package/Runtime/IRCMessages.cs index 57bc667..9f97bd9 100644 --- a/Unity-Twitch-Chat/Assets/Package/Runtime/IRCMessages.cs +++ b/Unity-Twitch-Chat/Assets/Package/Runtime/IRCMessages.cs @@ -29,6 +29,7 @@ public class IRCTags public string displayName = string.Empty; public string channelId = string.Empty; public string userId = string.Empty; + public bool isHighlighted; public ChatterBadge[] badges = new ChatterBadge[0]; public ChatterEmote[] emotes = new ChatterEmote[0]; diff --git a/Unity-Twitch-Chat/Assets/Package/Runtime/ParseHelper.cs b/Unity-Twitch-Chat/Assets/Package/Runtime/ParseHelper.cs index bb27deb..6ff1a60 100644 --- a/Unity-Twitch-Chat/Assets/Package/Runtime/ParseHelper.cs +++ b/Unity-Twitch-Chat/Assets/Package/Runtime/ParseHelper.cs @@ -64,6 +64,10 @@ public static IRCTags ParseTags(string tagString) case "user-id": tags.userId = value; continue; + + case "msg-id": + tags.isHighlighted = value == "highlighted-message"; + continue; } }