@botpress/api 0.83.1 → 0.85.0

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/src/gen/state.ts CHANGED
@@ -885,7 +885,7 @@ export const state = {
885
885
  },
886
886
  "updateMessage": {
887
887
  "name": "updateMessage",
888
- "description": "Update a message",
888
+ "description": "Updates a message tags and payload. The message type cannot be changed. Calling this operation from an integration, to update an incoming message, will not invoke the bot. The other way around it also true; Calling this operation from the bot, to update an outgoing message, will not invoke the integration.",
889
889
  "method": "put",
890
890
  "path": "/v1/chat/messages/{id}",
891
891
  "parameters": {
@@ -907,6 +907,11 @@ export const state = {
907
907
  "type": "string"
908
908
  },
909
909
  "description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them."
910
+ },
911
+ "payload": {
912
+ "type": "object",
913
+ "additionalProperties": true,
914
+ "description": "Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location"
910
915
  }
911
916
  },
912
917
  "required": [
@@ -14136,6 +14141,7 @@ export const state = {
14136
14141
  "list",
14137
14142
  "table",
14138
14143
  "code",
14144
+ "image",
14139
14145
  "page"
14140
14146
  ],
14141
14147
  "description": "The subtype of passage, if available."
@@ -14279,6 +14285,7 @@ export const state = {
14279
14285
  "list",
14280
14286
  "table",
14281
14287
  "code",
14288
+ "image",
14282
14289
  "page"
14283
14290
  ],
14284
14291
  "description": "The subtype of passage, if available."
@@ -15836,7 +15843,7 @@ export const state = {
15836
15843
  "title": "Botpress API",
15837
15844
  "description": "API for Botpress Cloud",
15838
15845
  "server": "https://api.botpress.cloud",
15839
- "version": "0.83.1",
15846
+ "version": "0.85.0",
15840
15847
  "prefix": "v1"
15841
15848
  },
15842
15849
  "errors": [