# new SendNotificationTarget(targetMap)
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
targetMap |
Object | Target parameters
Properties
|
Methods
# (static) create() → {SendNotificationTarget}
Create a new notification target.
Returns:
new instance.
# (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.
# addReceiverPlaceholder(placeholder) → {SendNotificationTarget}
Add a placeholder.
Parameters:
Name | Type | Description |
---|---|---|
placeholder |
string | one of SendNotificationPlaceholders.Receivers. |
Returns:
- Same instance.