LaravelFCM\Sender\FCMGroup::removeFromGroup PHP Method

removeFromGroup() public method

>Note: if you remove all registrationIds the group is automatically deleted
public removeFromGroup ( $notificationKeyName, $notificationKey, array $registeredIds ) : null
$notificationKeyName
$notificationKey
$registeredIds array registrationIds to remove
return null
    public function removeFromGroup($notificationKeyName, $notificationKey, array $registeredIds)
    {
        $request = new GroupRequest(self::REMOVE, $notificationKeyName, $notificationKey, $registeredIds);
        $response = $this->client->post($this->url, $request->build());
        return $this->getNotificationToken($response);
    }