class FirebaseCloudMessaging extends Service (View source)

Service definition for FirebaseCloudMessaging (v1).

FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost.

For more information about this service, see the API Documentation

Constants

CLOUD_PLATFORM

See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.

.

FIREBASE_MESSAGING

Send messages and manage messaging subscriptions for your Firebase applications.

Properties

$projects_messages
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the FirebaseCloudMessaging service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the FirebaseCloudMessaging service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.