@pushwoosh/rpc-gateway-messaging 0.6.208 → 0.6.209

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 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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-messaging",
3
- "version": "0.6.208",
3
+ "version": "0.6.209",
4
4
  "description": "Channels Messaging API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -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. */
@@ -1136,7 +1141,10 @@ export type Payload_kind_silent = {
1136
1141
  };
1137
1142
  export type Payload_kind = Payload_kind_content | Payload_kind_silent;
1138
1143
  export type Payload = {
1139
- /** Preset code (XXXXX-XXXXX) whose content this message starts from: a push preset, or a LINE preset when platforms include LINE. */
1144
+ /**
1145
+ * Preset code (XXXXX-XXXXX) whose content this message starts from: a push preset, a LINE preset when platforms include LINE,
1146
+ * or an FB Messenger preset when platforms include FB_MESSENGER.
1147
+ */
1140
1148
  preset: string;
1141
1149
  /** Free-form JSON delivered to the SDK as the `u` parameter. */
1142
1150
  customData: object;