How to make a bot a teams app

Zhu, Zihan 41 Reputation points


I made a normal bot by using Microsoft Bot Framework and has 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?
Also, I noticed that general bots are a bit different from teams bots according to the samples from GitHub, for example, general bots extend ActivityHandler but teams bots extend TeamsActivityHandler. So how can I turn my bot to a teams app? Do I need to alter the code of the bot I made a lot?

Thank you.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
771 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,974 questions
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 47,686 Reputation points


    Thanks for reaching out to us. You can configure a bot to communicate with users through Microsoft Teams as below document:

    For more information about connection between bot and channels please see: