These are chat archives for TheHolyWaffle/TeamSpeak-3-Java-API

2nd
Dec 2017
astrolamb-gaming
@astrolamb-gaming
Dec 02 2017 19:56
Will Channel(Info)#getParentChannelIdget the root channel, or the immediate parent?
Roger Baumgartner
@rogermb
Dec 02 2017 21:02
The immediate parent. Was that what you were asking for?
astrolamb-gaming
@astrolamb-gaming
Dec 02 2017 21:25
If a channel has a child which has a child which has a child, I want to do things for all channels depending on if the channel is a child (or grandchild, etc) of the first channel.
So, not exactly :P
Roger Baumgartner
@rogermb
Dec 02 2017 22:27
No, there isn't a built-in way to do this. Your best bet would be to just do a getChannels() and do the number crunching yourself
I don't know what your requirements are, so it's hard to say what the best approach would be.