public function upload($path, array $parameters = [], $chunked = false)
    {
        if ($chunked) {
            return $this->uploadMediaChunked($path, $parameters);
        } else {
            return $this->uploadMediaNotChunked($path, $parameters);
        }
    }
public function upload($path, array $parameters = [], $chunked = false)
    {
        if ($chunked) {
            return $this->uploadMediaChunked($path, $parameters);
        } else {
            return $this->uploadMediaNotChunked($path, $parameters);
        }
    }
public function upload ( $ path , array $ parameters = [ ] , $ chunked = false ) { if ( $ chunked ) { return $ this -> uploadMediaChunked ( $ path , $ parameters ) ; } else { return $ this -> uploadMediaNotChunked ( $ path , $ parameters ) ; } }
Upload media to upload.twitter.com.

@param string $path
@param array  $parameters
@param boolean  $chunked

@return array|object
Upload media to upload . twitter . com .