Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

I can't set the channel icon. #72

Open
WebXScripts opened this issue Jan 4, 2020 · 0 comments
Open

I can't set the channel icon. #72

WebXScripts opened this issue Jan 4, 2020 · 0 comments

Comments

@WebXScripts
Copy link

WebXScripts commented Jan 4, 2020

Hello, i can't set the channel icon via channelcreate().

$channel['data'] = array(
 'channel_name' =>"example"
 'channel_flag_maxclients_unlimited' => 0,
 'channel_flag_maxfamilyclients_unlimited' => 1,
 'channel_maxclients' => $limit,
 'channel_flag_permanent' => 1,
 'channel_codec_quality' => 10,
 //'channel_icon_id' => 500, <- example ID.
 'cpid' => 334
    );
}
$ts->channelCreate($channel['data']);

var_dump:

array(3) {
 ["success"]=>
  bool(false)
 ["errors"]=>
   array(1) {
    [0]=>
     string(42) "ErrorID: 1538 | Message: invalid parameter"
  }
 ["data"]=>
  bool(false)
 }

I don't know what I'm doing wrong. :x

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant