
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.TwitchChatAPI
toTwitchChatAPI
. - Changed plugin guid from
com.github.zehsteam.TwitchChatAPI
toTwitchChatAPI
. - Removed all references to Lethal Company to make this mod work for other games.
- Renamed
SubType
toType
inTwitchSubEvent
. - Removed
IsPrime
bool fromTwitchSubEvent
and addedPrime
option to theSubTier
enum. - Added
Channel
string to the API. - Added
OnConnectionStateChanged
event to the API. - Added
Connect
,Connect(string channel)
, andDisconnect()
methods to the API. - Added extension methods to
TwitchUser
for getting the DisplayName with color as a rich text string.
v1.1.0
- Updated
TwitchSubEvent
class.- Changed
Tier
from an int to an enum. - Renamed
Months
toCumulativeMonths
.
- Changed
- Updated
TwitchUser
class.- Added
Username
property.
- 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.