Moving channels
To move a channel to a new parent channel, making it appear in a different location in the channel structure, call this function:
-
unsigned int ts3server_channelMove(uint64 serverID, uint64 channelID, uint64 newChannelParentID, uint64 newOrder)
move a channel within the tree, make it a sub channel or root channel.
- Parameters:
serverID – the server on which to move a channel
channelID – the channel to move
newChannelParentID – id of the parent channel to move this channel into. Set to 0 to make this channel a root channel.
newOrder – id of the channel below which this channel is to be sorted.
- Returns:
An Error code from the Ts3ErrorType enum indicating either success or the failure reason
Note
After the channel has been moved, the event onChannelEdited()
callback is called.