Class FCMGroup
- Class name: FCMGroup
- Namespace: LaravelFCM\Sender
- Parent class: LaravelFCM\Sender\BaseSender
const CREATE = "create"
const ADD = "add"
const REMOVE = "remove"
protected \Illuminate\Foundation\Application $client
Guzzle Client
- Visibility: protected
protected array $config
configuration
- Visibility: protected
protected mixed $url
url
- Visibility: protected
null LaravelFCM\Sender\FCMGroup::createGroup($notificationKeyName, array $registrationIds)
Create a group
- Visibility: public
- $notificationKeyName mixed
- $registrationIds array
null LaravelFCM\Sender\FCMGroup::addToGroup($notificationKeyName, $notificationKey, array $registrationIds)
add registrationId to a existing group
- Visibility: public
- $notificationKeyName mixed
- $notificationKey mixed
- $registrationIds array - <p>registrationIds to add</p>
null LaravelFCM\Sender\FCMGroup::removeFromGroup($notificationKeyName, $notificationKey, array $registeredIds)
remove registrationId to a existing group
Note: if you remove all registrationIds the group is automatically deleted
- Visibility: public
- $notificationKeyName mixed
- $notificationKey mixed
- $registeredIds array - <p>registrationIds to remove</p>
string LaravelFCM\Sender\BaseSender::getUrl()
get the url
- Visibility: protected
- This method is abstract.
- This method is defined by LaravelFCM\Sender\BaseSender
mixed LaravelFCM\Sender\BaseSender::__construct()
BaseSender constructor.
- Visibility: public
- This method is defined by LaravelFCM\Sender\BaseSender