public function upload($status, $media, array $parameters = array(), $appOnlyAuth = false)
    {
        $data = array('status' => $status, 'media[]' => $media) + $parameters;

        return $this->postStatusesUpdateWithMedia($data, $appOnlyAuth);
    }
public function upload($status, $media, array $parameters = array(), $appOnlyAuth = false)
    {
        $data = array('status' => $status, 'media[]' => $media) + $parameters;

        return $this->postStatusesUpdateWithMedia($data, $appOnlyAuth);
    }
public function upload ( $ status , $ media , array $ parameters = array ( ) , $ appOnlyAuth = false ) { $ data = array ( 'status' => $ status , 'media[]' => $ media ) + $ parameters ; return $ this -> postStatusesUpdateWithMedia ( $ data , $ appOnlyAuth ) ; }
Updates the authenticating user's current status and attaches media for upload.
In other words, it creates a Tweet with a picture attached.

@param $status
@param $media
@param array $parameters
@param bool $appOnlyAuth
@return mixed
Updates the authenticating user s current status and attaches media for upload . In other words it creates a Tweet with a picture attached .