class Teak.Notification

Teak Notification scheduling.

Static Methods

Schedule

Schedule a notification to send to the logged in user for a future time.

IEnumerator Schedule(string scheduleName,
                     long delayInSeconds,
                     Dictionary<string, object> personalizationData,
                     System.Action<Reply> callback);

The maximum delay for scheduling a notification is 30 days.

Parameters

Name Description

scheduleName

A value used to identify the message creative in the Teak CMS e.g. "daily_bonus".

delayInSeconds

The number of seconds from the current time before the notification should be sent.

personalizationData

Optional information which can be used for templating on the server; or null.

callback

The callback to be called after the notification is scheduled.