Teamspeak Php Change Sort of Subchannel

Yousef

New Member
Joined
Nov 16, 2017
Messages
11
Reaction score
3
Points
18
Age
19
Hello ,

I Have This Channels

A
[SUB]A1
[SUB]A2
[SUB]A3

i wanna to change order [SUB]A3 to First Order in A ...
 

FromLondon

Honk Honk
VIP
Joined
May 20, 2016
Messages
247
Reaction score
93
Points
78
Age
24
Location
Russia
This reply might be not usefull, but anyway look at the output from `channellist` command
With that you can get understandingc how to reorder specified channel
 

kalle

high minded
VIP
Contributor
Joined
Oct 28, 2015
Messages
399
Reaction score
243
Points
118
Location
Bosnia and Herzegovina
Website
github.com
PHP:
$subChannel = $ts3->channelCreate(array(
        "channel_name" => "[SUB]A3",
        "channel_topic" => "[SUB]A3",
        "channel_codec" => TeamSpeak3::CODEC_SPEEX_ULTRAWIDEBAND,
        "channel_codec_quality" => 0x08,
        "channel_flag_permanent" => true,
        "cpid" => $cid, 
        "channel_order" => "0"
        ));
Or make channel order with channelMove()
 

Yousef

New Member
Joined
Nov 16, 2017
Messages
11
Reaction score
3
Points
18
Age
19
PHP:
$subChannel = $ts3->channelCreate(array(
        "channel_name" => "[SUB]A3",
        "channel_topic" => "[SUB]A3",
        "channel_codec" => TeamSpeak3::CODEC_SPEEX_ULTRAWIDEBAND,
        "channel_codec_quality" => 0x08,
        "channel_flag_permanent" => true,
        "cpid" => $cid,
        "channel_order" => "0"
        ));
Or make channel order with channelMove()
Hello thank you for your reply but when i use channelmove() say invild channel id
 

Top