# new NotificationContent(contentMap)
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
contentMap |
Object | Content parameters
Properties
|
Methods
# (static) withTemplate(templateName) → {NotificationContent}
Creates a new NotificationContent instance from the template configured on the GetSocial Dashboard.
Parameters:
Name | Type | Description |
---|---|---|
templateName |
string | Name of the template on the GetSocial Dashboard. Case-sensitive. |
Returns:
New NotificationContent instance.
- Type
- NotificationContent
# (static) withText(text) → {NotificationContent}
Creates a new NotificationContent instance.
Parameters:
Name | Type | Description |
---|---|---|
text |
string | Notification text. |
Returns:
New NotificationContent instance.
- Type
- NotificationContent