new Push()
Contains functions to deal with Push in Parse.
Methods
(static) send(data) → {Promise}
Sends a push notification. Available in Cloud Code only.
Parameters:
Name | Type | Description |
---|---|---|
data |
object
|
The data of the push notification. Valid fields are:
|
Returns:
- Type:
-
Promise
A promise that is fulfilled when the push request completes.