src/Notifications.php
public function open($id)
    {
        return $this->api->request('PUT', '/notifications/'.$id, [
            'Authorization' => 'Basic '.$this->api->getConfig()->getApplicationAuthKey(),
        ], json_encode([
            'app_id' => $this->api->getConfig()->getApplicationId(),
            'opened' => true,
        ]));
    }
public function open($id)
    {
        return $this->api->request('PUT', '/notifications/'.$id, [
            'Authorization' => 'Basic '.$this->api->getConfig()->getApplicationAuthKey(),
        ], json_encode([
            'app_id' => $this->api->getConfig()->getApplicationId(),
            'opened' => true,
        ]));
    }
public function open ( $ id ) { return $ this -> api -> request ( 'PUT' , '/notifications/' . $ id , [ 'Authorization' => 'Basic ' . $ this -> api -> getConfig ( ) -> getApplicationAuthKey ( ) , ] , json_encode ( [ 'app_id' => $ this -> api -> getConfig ( ) -> getApplicationId ( ) , 'opened' => true , ] ) ) ; }
Open notification.

Application authentication key and ID must be set.

@param string $id Notification ID

@return array
Open notification .