Breaking changes:

'Gift': changed from class to enum, so now you can handle
incoming gifts in switch

`Events`
- new:
     onGiftComboFinished
- Removed:
      onGiftBrodcast
- Rename:
     onGiftMessage -> onGift
     onRoomPinMessage -> onRoomPin
     onRoomMessage -> onRoom
     onLinkMessage -> onLink
     onBarrageMessage -> onBarrage
     onPollMessage -> onPoll
     onShopMessage -> onShop
     onDetectMessage -> onDetect

`GiftManager`
   added:
      registerGift
      findById
      findByName
      getGifts
   removed:
      getActiveGifts
This commit is contained in:
JW
2023-10-06 02:49:33 +02:00
parent 65a2d5cfff
commit ed2af8cce7
16 changed files with 126 additions and 145 deletions

View File

@@ -23,11 +23,12 @@
package io.github.jwdeveloper.tiktok;
import io.github.jwdeveloper.tiktok.live.builder.LiveClientBuilder;
public class TikTokLive
{
public static TikTokLiveClientBuilder newClient(String userName)
public static LiveClientBuilder newClient(String hostName)
{
return new TikTokLiveClientBuilder(userName);
return new TikTokLiveClientBuilder(hostName);
}
}