Add direct method to provide sessionId and ttTargetIdc for sending chats from 1 client.

This commit is contained in:
kohlerpop1
2025-10-06 23:08:10 -04:00
parent 7589a2ac4a
commit cfdced9645
5 changed files with 22 additions and 9 deletions

View File

@@ -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) {