GetNotificationStatus method: PTNotification class

Syntax

GetNotificationStatus()

Description

Use the GetNotificationStatus method to retrieve the notification channels that are enabled for a list of recipients. You should invoke this method after calling the Send method.

Parameters

None.

Returns

A two-dimensional array containing the user ID of the recipient and a string representing the enabled channels in the order of In-app, mail, and text.

The following table describes the character representation of the return string.

In-app Mail Text Return String

Not enabled

Not enabled

Not enabled

NNN

Not enabled

Not enabled

Enabled

NNY

Not enabled

Enabled

Not enabled

NYN

Not enabled

Enabled

Enabled

NYY

Enabled

Not enabled

Not enabled

YNN

Enabled

Not enabled

Enabled

YNY

Enabled

Enabled

Not enabled

YYN

Enabled

Enabled

Enabled

YYY

Example

&arStatus = &objBroadcast.GetNotificationStatus();