These are chat archives for TheHolyWaffle/TeamSpeak-3-Java-API
where the string must be played back
int clientId = ... ClientInfo client = api.getClientInfo(clientId); int channelId = client.getChannelId(); ChannelInfo channel = api.getChannelInfo(channelId); String channelName = channel.getName();
TS3Api#getClients. Why would you not want to use that method that does exactly what you need it to do?
TS3Api#getServerGroupClients(int), where the parameter is the ID of the server group you're interested in.
And that's what takes most of the time - no matter whether you're using
getClients is most likely faster if you have to check multiple server groups as it only involves a single API call