new Message(id, blastId, type, from, to, subject, text, status, statusDescription, encoding, date, timezone, clientId, appName, platform)
Message object generated and returned internally by the SDK. This is the message ogbect received as parameter when a new push notification is received.
Parameters:
Name | Type | Description |
---|---|---|
id |
string | message unique identifier |
blastId |
string | blast identifier aqssociated with this message, if any |
type |
string | Message type (PUSH, BEACON_PUSH, GEOFENCE_PUSH, GEOPUSH) |
from |
string | Message sender |
to |
string | Message recipient |
subject |
string | Title for the message |
text |
string | HTML content of the message body |
status |
string | Current status code of the message |
statusDescription |
string | Status description of the current message |
encoding |
string | Encoding used in the text of the message |
date |
string | Date of delivery |
timezone |
string | Timezone set in backend where message was generated |
clientId |
string | Workspace internal identifier used to send push |
appName |
string | Application name to which the message was sent |
platform |
string | Platform to which push was sent, can be ANDROID or IOS |