Unable to move channel to the top of listing with CreateChannel
, EditChannel
or Move Channel
#38
Labels
CreateChannel
, EditChannel
or Move Channel
#38
I've been trying to create a channel with a parent channel, but an issue I'm having is that channels are always moved to the top of the channel when they are A: edited or B: created. From what I can see, this is caused by the order being given the default value of zero when created. (See https://github.com/nikeee/TeamSpeak3QueryAPI/blob/master/src/TeamSpeak3QueryApi/Specialized/Notifications/ChannelCreated.cs#L32).
I've worked around this problem by using the
QueryClient
and sending my own channelcreate method. Could this behaviour be changed, or can we get some overloads which allows us to determine if we want it at the top of the channel or not.This is the code I'm using to get the behaviour I expect.
await ts3.Client.Send("channelcreate", new TeamSpeak3QueryApi.Net.Parameter("channel_name", "Test Channel Name"), new TeamSpeak3QueryApi.Net.Parameter("cpid", mParentChannelId));
The text was updated successfully, but these errors were encountered: