@pushwoosh/rpc-gateway-messaging 0.6.208 → 0.6.210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data.js +6 -0
- package/package.json +1 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +14 -1
package/data.js
CHANGED
|
@@ -1471,6 +1471,9 @@ export const data = {
|
|
|
1471
1471
|
},
|
|
1472
1472
|
"messageTag": {
|
|
1473
1473
|
"type": "string"
|
|
1474
|
+
},
|
|
1475
|
+
"message": {
|
|
1476
|
+
"type": "string"
|
|
1474
1477
|
}
|
|
1475
1478
|
}
|
|
1476
1479
|
},
|
|
@@ -1592,6 +1595,9 @@ export const data = {
|
|
|
1592
1595
|
},
|
|
1593
1596
|
"attachment": {
|
|
1594
1597
|
"type": "string"
|
|
1598
|
+
},
|
|
1599
|
+
"interactive": {
|
|
1600
|
+
"type": "string"
|
|
1595
1601
|
}
|
|
1596
1602
|
}
|
|
1597
1603
|
},
|
package/package.json
CHANGED
|
@@ -977,6 +977,11 @@ export type Content_PlatformPropertiesFBMessenger = {
|
|
|
977
977
|
* HUMAN_AGENT). Required to reach a user outside the 24-hour messaging window.
|
|
978
978
|
*/
|
|
979
979
|
messageTag: string;
|
|
980
|
+
/**
|
|
981
|
+
* Complete Send API `message` object as JSON (text, attachment, template, quick_replies), as stored
|
|
982
|
+
* in an FB Messenger preset. Sent instead of `body`; `body` stays the plain-text form of the message.
|
|
983
|
+
*/
|
|
984
|
+
message: string;
|
|
980
985
|
};
|
|
981
986
|
export type Content_PlatformPropertiesViber = {
|
|
982
987
|
/** Notification body text. */
|
|
@@ -1079,6 +1084,11 @@ export type Content_PlatformPropertiesWhatsApp = {
|
|
|
1079
1084
|
* The media kind (image / document / video) is derived from the extension.
|
|
1080
1085
|
*/
|
|
1081
1086
|
attachment: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* Interactive message (buttons, list, media) as Cloud API JSON, as stored in a chat-projected WhatsApp
|
|
1089
|
+
* preset. Sent instead of the template while the 24-hour window is open, or alone when there is no template.
|
|
1090
|
+
*/
|
|
1091
|
+
interactive: string;
|
|
1082
1092
|
};
|
|
1083
1093
|
export type Content = {
|
|
1084
1094
|
/** iOS push content. */
|
|
@@ -1136,7 +1146,10 @@ export type Payload_kind_silent = {
|
|
|
1136
1146
|
};
|
|
1137
1147
|
export type Payload_kind = Payload_kind_content | Payload_kind_silent;
|
|
1138
1148
|
export type Payload = {
|
|
1139
|
-
/**
|
|
1149
|
+
/**
|
|
1150
|
+
* Preset code (XXXXX-XXXXX) whose content this message starts from: a push preset, a LINE preset when platforms include LINE,
|
|
1151
|
+
* an FB Messenger preset when platforms include FB_MESSENGER, or a WhatsApp preset when platforms include WHATSAPP.
|
|
1152
|
+
*/
|
|
1140
1153
|
preset: string;
|
|
1141
1154
|
/** Free-form JSON delivered to the SDK as the `u` parameter. */
|
|
1142
1155
|
customData: object;
|