SendNotificationTarget

SendNotificationTarget

# new SendNotificationTarget(targetMap)

Parameters:
Name Type Description
targetMap Object Target parameters
Properties
Name Type Attributes Default Description
userIdList UserIdList <optional>
User IDs
placeholders Array.<string> <optional>
[] Placeholders

Methods

# (static) create() → {SendNotificationTarget}

Create a new notification target.
Returns:
new instance.
Type
SendNotificationTarget

# (static) usersWithIds(userIdList) → {SendNotificationTarget}

Create a new notification target with list of users.
Parameters:
Name Type Description
userIdList UserIdList List of user to receive notification.
Returns:
New instance.
Type
SendNotificationTarget

# addReceiverPlaceholder(placeholder) → {SendNotificationTarget}

Add a placeholder.
Parameters:
Name Type Description
placeholder string one of SendNotificationPlaceholders.Receivers.
Returns:
- Same instance.
Type
SendNotificationTarget