From 637ea7d940a6a0f84f4464daf53d8b41216e82b9 Mon Sep 17 00:00:00 2001 From: Mohammed Furquan Date: Fri, 15 Mar 2024 14:51:06 +0530 Subject: [PATCH] handleTeamsFileConsent method added in bot file upload sample --- samples/bot-file-upload/nodejs/bots/teamsFileUploadBot.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/samples/bot-file-upload/nodejs/bots/teamsFileUploadBot.js b/samples/bot-file-upload/nodejs/bots/teamsFileUploadBot.js index e79ce07312..70934b2ba0 100644 --- a/samples/bot-file-upload/nodejs/bots/teamsFileUploadBot.js +++ b/samples/bot-file-upload/nodejs/bots/teamsFileUploadBot.js @@ -131,6 +131,11 @@ class TeamsFileUploadBot extends TeamsActivityHandler { contentUrl: `data:image/png;base64,${ base64Image }` }; } + + async handleTeamsFileConsent(context,response){ + console.log("handleTeamsFileConsent() method executed"); + console.log(context,response); + } } module.exports.TeamsFileUploadBot = TeamsFileUploadBot;