public addToGroup ( $notificationKeyName, $notificationKey, array $registrationIds ) : null | ||
$notificationKeyName | ||
$notificationKey | ||
$registrationIds | array | registrationIds to add |
return | null |
public function addToGroup($notificationKeyName, $notificationKey, array $registrationIds)
{
$request = new GroupRequest(self::ADD, $notificationKeyName, $notificationKey, $registrationIds);
$response = $this->client->post($this->url, $request->build());
return $this->getNotificationToken($response);
}