I have a created a Chat bot using Microsoft Azure bot service and LUIS. With my bot which was trained on LUIS, I'm able to receive text messages. I have connected the bot to Skype channel.
I don't know how to return a image attachment as an answer to a message.
I heard some of the Microsoft bot framework can send image as an attachment and I'm not sure about Azure bot service.
Sample code:
var recognizer = new builder.LuisRecognizer(LuisModelUrl);
var intents = new builder.IntentDialog({ recognizers: [recognizer] })
.matches('**Greetings**', (session, args) => {session.send('**Hi! Welcome**');});
bot.dialog('/', intents);
My Case:
I want to attach the below URL image with 'Hi! Welcome' message when it matches with my Intent 'Greetings'.
ContentType = "image/jpeg"
I don't know how & and where to add the above content URL in my code to send attachment to the message.
Can someone help me with it?