
TwitchChatAPI
Add Twitch chat integration to your Unity game mods! Subscribe to events like Messages, Cheers, Subs, and Raids. No Twitch authentication or connections required.Details
v2.0.0
- Changed root namespace from
com.github.zehsteam.TwitchChatAPItoTwitchChatAPI. - Changed plugin guid from
com.github.zehsteam.TwitchChatAPItoTwitchChatAPI. - Removed all references to Lethal Company to make this mod work for other games.
- Renamed
SubTypetoTypeinTwitchSubEvent. - Removed
IsPrimebool fromTwitchSubEventand addedPrimeoption to theSubTierenum. - Added
Channelstring to the API. - Added
OnConnectionStateChangedevent to the API. - Added
Connect,Connect(string channel), andDisconnect()methods to the API. - Added extension methods to
TwitchUserfor getting the DisplayName with color as a rich text string.
v1.1.0
- Updated
TwitchSubEventclass.- Changed
Tierfrom an int to an enum. - Renamed
MonthstoCumulativeMonths.
- Changed
- Updated
TwitchUserclass.- Added
Usernameproperty.
- Added
- Updated
API.- Added
public static IReadOnlyCollection<TwitchUser> Users { get; }property. - Added
public static bool TryGetUserByUsername(string username, out TwitchUser twitchUser);method. - Added
public static bool TryGetUserByUserId(string userId, out TwitchUser twitchUser);method. - Added
public static TwitchUser[] GetUsersSeenWithin(TimeSpan timeSpan);method.
- Added
v1.0.1
- API events are now invoked on the main thread.
- Bug fixes and improvements.
v1.0.0
- Initial release.