Templates
Templates let you save pre-formatted messages for using it directly with holopush and A/B Test.
Last updated
Templates let you save pre-formatted messages for using it directly with holopush and A/B Test.
Last updated
stockId
string
ID of the Hololibrary item. This is mandatory incase of HOLOPUSH
template
number
To be set as 1 for the message to be considered as a template
type
string
Type of message - HOLOPUSH/TEXT
appId
string
Application Id under which the template has to be created.
title
string
Appears as the title on the message created out of the template. This explains the purpose of notification.
subtitle
string
Appears as the subtitle on the message created from the template. This explains additional information about the notification.
text
string
The body that appears on the message. Content of the notification.
fbTitle
string
Fallback title for the notification in case media file cannot be downloaded.
fbSubtitle
string
Fallback subtitle for the notification in case media file cannot be downloaded.
fbText
string
Fallback text for the notification in case media file is not downloaded.
expiry
number
Duration from the playtime after which the notification expires. A text with content Sorry! Opportunity missed! appears in case the user opens the notification past expiry time.
about
array
URL of the targeted page can be provided. It acts as a deep link.
priority
string
The priority of the HoloPush notification. HIGH/MEDIUM/LOW in string format.
channel
string
Channel PUSH/PULL.By default it is considered as a PUSH
action
string
Action text is provided in the notification. Upon clicking on the action text deep link is opened (if provided).