Campaigns
SyneriseSource
Declared In:
lib/classes/models/Misc/SyneriseSource.js
Declaration:
enum SyneriseSource {
NotSpecified = 'NOT_SPECIFIED',
SimplePush = 'SIMPLE_PUSH',
Banner = 'BANNER',
Walkthrough = 'WALKTHROUGH',
InAppMessage = 'IN_APP_MESSAGE'
}
Functions:
Converts from SyneriseSource to string.
function SyneriseSourceToString(source: SyneriseSourceToString): string
Converts from string to SyneriseSource.
function SyneriseSourceFromString(string: string): SyneriseSource
InAppMessageData
Model representing an in-app message data.
Declared In:
lib/classes/models/Misc/InAppMessageData.js
Inherits From:
BaseModel
Declaration:
class InAppMessageData extends BaseModel
Properties:
Property | Type | Optional | Description |
---|---|---|---|
campaignHash | string | no | Identifier of the in-app message campaign. |
variantIdentifier | string | no | Identifier of the in-app message campaign variant. |
additionalParameters | Object | yes | Parameters additionally provided by the campaign. |
isTest | boolean | no | Specifies if the object is from a test campaign. |