schedule
Schedule a notification to be sent to the current user in the future.
Future<Reply> io.teak.sdk.Teak.Notification.schedule(final String creativeId,
final long delayInSeconds);
Return
A Future
for the Reply
to this operation.
Parameters
Name |
Description |
creativeId
|
The identifier of the notification creative on the Teak dashboard.
|
delayInSeconds
|
The delay, in seconds, before sending the notification.
|
schedule
Schedule a notification to be sent to the current user in the future.
Future<Reply> io.teak.sdk.Teak.Notification.schedule(final String creativeId,
final long delayInSeconds,
final Map<String, Object> personalizationData);
Return
A Future
for the Reply
to this operation.
Parameters
Name |
Description |
creativeId
|
The identifier of the notification creative on the Teak dashboard.
|
delayInSeconds
|
The delay, in seconds, before sending the notification.
|
personalizationData
|
A dictionary containing parameters that the server can use for templating.
|