module.exports.elicitIntentResponse = function()

in lex-validate-lambda/searchHotel/ResponseHandler.js [92:110]


module.exports.elicitIntentResponse = function (
  sessionAttributes,
  messageText
) {
  return {
    sessionState: {
      sessionAttributes,
      dialogAction: {
        type: "ElicitIntent",
      },
    },
    messages: [
      {
        contentType: "PlainText",
        content: messageText,
      },
    ],
  };
};