original_string: public function putChannel($channel, $rawOptions, $token = null)
      {
          $options = [];
  
          foreach ($rawOptions as $key => $value) {
              $options['channel['.$key.']'] = $value;
          }
  
          return $this->sendRequest('PUT', 'channels/'.$channel, $this->getToken($token), $options);
      }
code: public function putChannel($channel, $rawOptions, $token = null)
      {
          $options = [];
  
          foreach ($rawOptions as $key => $value) {
              $options['channel['.$key.']'] = $value;
          }
  
          return $this->sendRequest('PUT', 'channels/'.$channel, $this->getToken($token), $options);
      }
code_tokens: public function putChannel ( $ channel , $ rawOptions , $ token = null ) { $ options = [ ] ; foreach ( $ rawOptions as $ key => $ value ) { $ options [ 'channel[' . $ key . ']' ] = $ value ; } return $ this -> sendRequest ( 'PUT' , 'channels/' . $ channel , $ this -> getToken ( $ token ) , $ options ) ; }
docstring: Update channel.
  
  @param string $channel Channel name
  @param array  $options Channel options
  @param string $token   Twitch token
  
  @return JSON Request result
docstring_tokens: Update channel .