Class BaseBotActionResult

    • Field Detail

      • payload

        protected java.util.Map<java.lang.String,​java.lang.Object> payload
      • payloadNode

        protected com.fasterxml.jackson.databind.JsonNode payloadNode
      • intent

        protected Intent intent
    • Constructor Detail

      • BaseBotActionResult

        public BaseBotActionResult()
      • BaseBotActionResult

        public BaseBotActionResult​(com.fasterxml.jackson.databind.JsonNode payloadNode,
                                   Intent intent)
    • Method Detail

      • getPayload

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.Object> getPayload()
        Deprecated.
        Description copied from interface: BotActionResult
        The information from invoking the action.
        Specified by:
        getPayload in interface BotActionResult
        Returns:
        the information that should be displayed to the user
      • getPayloadNode

        public com.fasterxml.jackson.databind.JsonNode getPayloadNode()
        Description copied from interface: BotActionResult
        The information from invoking the action.
        Specified by:
        getPayloadNode in interface BotActionResult
        Returns:
        the information that should be displayed to the user
      • getIntent

        public Intent getIntent()
        Description copied from interface: BotActionResult
        Action to perform in the user interface right after executing the bot action.
        Specified by:
        getIntent in interface BotActionResult
        Returns:
        UI action to perform in the frontend