Push

AV. Push

Source:

Methods

(static) send(data, optionsopt) → {Promise}

Source:
Sends a push notification.
Parameters:
Name Type Attributes Description
data Object The data of the push notification.
Properties
Name Type Attributes Description
channels Array.<String> <optional>
An Array of channels to push to.
push_time Date <optional>
A Date object for when to send the push.
expiration_time Date <optional>
A Date object for when to expire the push.
expiration_interval Number <optional>
The seconds from now to expire the push.
flow_control Number <optional>
The clients to notify per second
where AV.Query <optional>
An AV.Query over AV.Installation that is used to match a set of installations to push to.
cql String <optional>
A CQL statement over AV.Installation that is used to match a set of installations to push to.
data Object The data to send as part of the push. More details: https://url.leanapp.cn/pushData
options AuthOptions <optional>
Returns:
Type
Promise