mirror of
https://github.com/jwdeveloper/TikTokLiveJava.git
synced 2026-02-28 01:09:40 -05:00
Add direct method to provide sessionId and ttTargetIdc for sending chats from 1 client.
This commit is contained in:
@@ -199,7 +199,12 @@ public class TikTokLiveClient implements LiveClient
|
||||
|
||||
@Override
|
||||
public boolean sendChat(String content) {
|
||||
return httpClient.sendChat(roomInfo, content);
|
||||
return sendChat(content, clientSettings.getSessionId(), clientSettings.getTtTargetIdc());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean sendChat(String content, String sessionId, String ttTargetIdc) {
|
||||
return httpClient.sendChat(roomInfo, content, sessionId, ttTargetIdc);
|
||||
}
|
||||
|
||||
public void connectAsync(Consumer<LiveClient> onConnection) {
|
||||
|
||||
Reference in New Issue
Block a user