Class ParsePush - Handles sending push notifications with Parse.
author |
Fosco Marotto [email protected] |
---|---|
package |
Parse |
getStatus(array $response) : null|\Parse\ParsePushStatus
hasStatus(array $response) : boolean
array
Response from ParsePush::send
boolean
send(array $data, boolean $useMasterKey = false) : mixed
Throws |
|
---|
array
The data of the push notification. Valid fields are: channels - An Array of channels to push to. push_time - A Date object for when to send the push. expiration_time - A Date object for when to expire the push. expiration_interval - The seconds from now to expire the push. where - A ParseQuery over ParseInstallation that is used to match a set of installations to push to. data - The data to send as part of the push
boolean
Whether to use the Master Key for the request
mixed