@botpress/api 0.84.0 → 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": [
@@ -15838,7 +15843,7 @@ export const state = {
15838
15843
  "title": "Botpress API",
15839
15844
  "description": "API for Botpress Cloud",
15840
15845
  "server": "https://api.botpress.cloud",
15841
- "version": "0.84.0",
15846
+ "version": "0.85.0",
15842
15847
  "prefix": "v1"
15843
15848
  },
15844
15849
  "errors": [