public function create($friendlyName, $uniqueName) {
        $data = Values::of(array('FriendlyName' => $friendlyName, 'UniqueName' => $uniqueName, ));

        $payload = $this->version->create(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new TaskChannelInstance($this->version, $payload, $this->solution['workspaceSid']);
    }
public function create($friendlyName, $uniqueName) {
        $data = Values::of(array('FriendlyName' => $friendlyName, 'UniqueName' => $uniqueName, ));

        $payload = $this->version->create(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new TaskChannelInstance($this->version, $payload, $this->solution['workspaceSid']);
    }
public function create ( $ friendlyName , $ uniqueName ) { $ data = Values :: of ( array ( 'FriendlyName' => $ friendlyName , 'UniqueName' => $ uniqueName , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new TaskChannelInstance ( $ this -> version , $ payload , $ this -> solution [ 'workspaceSid' ] ) ; }
Create a new TaskChannelInstance

@param string $friendlyName String representing user-friendly name for the
TaskChannel
@param string $uniqueName String representing unique name for the TaskChannel
@return TaskChannelInstance Newly created TaskChannelInstance
@throws TwilioException When an HTTP error occurs.
Create a new TaskChannelInstance