Skip to main content
Version: 6.0.0

ScheduleRichPushNotificationMinutes

Schedules a rich push notification to a user at a future relative time.

ServiceOperation
pushNotificationSCHEDULE_RICH_NOTIFICATION

Method Parameters​

ParameterDescription
profileIdIdentifies the user to send to
notificationTemplateIdId of the notification template
substitutionsJSON defining the substitution params to use with the template
minutesFromNowMinutes in the future to send notification

Usage​

http://localhost:3000
string profileId = "kjhkjhgfkjshgkjh";
int notificationTemplateId = 1;
string substitutionJson = "{\"0\":\"value0\",\"1\":\"value1\"}";
int minutesFromNow = 1;
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.PushNotification.ScheduleRichPushNotificationMinutes(profileId, notificationTemplateId, substitutionJson, minutesFromNow, successCallback, failureCallback);