While creating a chatbot using AWS Lex
, I would like to provide the response in hyperlink format. But I don't want to use Response card
in this case. As per the AWS Lex docs, I knew that hyperlinks can't be given directly in responses
. Am new to Lamda functions and tried with the following.
exports.handler = (event, context, callback) => {
callback(null, {
"dialogAction": {
"type": "Close",
"fulfillmentState": "Fulfilled",
"message": {
"contentType": "CustomPayload",
"content": "my link"
}
}
});
};
but still am getting the result in text format. Am even okay with any other approaches.