How to make a bot receive attachments when channeling it to MS Teams

802 Views Asked by At

I made a normal bot by using Microsoft Bot Framework and have deployed it to the Azure portal. I tried to channel the bot to Teams, which worked but the bot couldn’t receive attachments. How can I make it do so?

Thanks.

1

There are 1 best solutions below

2
Mamatha-MSFT On BEST ANSWER

Microsoft Teams does not allow attachments by default. To send and receive files in the bot in teams, set the supportsFiles property in the manifest to true or else create an app for your bot in App studio. Specify your app allows upload attachments. And install it in your own Team account for testing. Please look at this sample code for reference.