简体   繁体   English

如何让机器人在将其引导到 MS Teams 时接收附件

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

I made a normal bot by using Microsoft Bot Framework and have deployed it to the Azure portal.我使用 Microsoft Bot Framework 制作了一个普通机器人,并将其部署到 Azure 门户。 I tried to channel the bot to Teams, which worked but the bot couldn't receive attachments.我尝试将机器人引导至 Teams,但该机器人无法接收附件。 How can I make it do so?我怎样才能做到这一点?

Thanks.谢谢。

Microsoft Teams does not allow attachments by default.默认情况下,Microsoft Teams 不允许附件。 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.要在团队中的 bot 中发送和接收文件,请将 manifest 中的 supportsFiles 属性设置为 true,或者在 App studio 中为您的 bot 创建一个应用程序。 Specify your app allows upload attachments.指定您的应用允许上传附件。 And install it in your own Team account for testing.并将其安装在您自己的团队帐户中进行测试。 Please look at this sample code for reference.请查看此示例代码以供参考。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 尝试在 MS Teams 中更新或删除机器人活动时收到禁止错误 - Receive Forbidden error when try to update or delete bot activity in MS Teams 将附件发送给 Teams 中的机器人 - Send Attachments to Bot in Teams 如何在安装在不同组织的 MS Teams Bot 中接收用户照片? - How to receive user photos in MS Teams Bot which installed in different organizations? 面临错误:对于使用 Bot Framework SDK 构建的 MS Teams Bot,此机器人不支持文件附件 - Facing Error: File attachments aren’t supported for this bot for MS Teams Bot built using Bot Framework SDK 不提及 MS Teams 机器人就无法接收频道消息 - Unable to receive channel message without mentioning MS Teams bot 如何在 MS teams bot 中安排和发送消息 - How to schedule and send the message in MS teams bot 如何使 MS Teams bot 仅从某些@xyz.com 域可用(无需身份验证) - How to make MS Teams bot available only from certain@xyz.com domain (Without Authentication) android 上的团队机器人上没有附件 - No attachments possible on teams bot on android 在 MS Teams 中安装 bot 时获取所有团队成员 - Get all team members when bot is installed in MS Teams 如何在 MS Teams 中重新启动 Bot - Core Bot C# - How to restart Bot in MS Teams - Core Bot C#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM