为 Microsoft 团队构建应用程序Build apps for Microsoft Teams

Microsoft 团队应用程序可提供关键信息、常见工具和受信任的过程,以便人们越来越多地收集、学习和工作。Microsoft Teams apps bring key information, common tools, and trusted processes to where people increasingly gather, learn, and work.

应用程序是您扩展团队以满足您的需求的方式。Apps are how you extend Teams to fit your needs. 创建适用于团队的全新功能或集成现有应用程序。Create something brand new for Teams or integrate an existing app.

什么是团队应用?What are Teams apps?

团队应用程序是 功能入口点的组合。Teams apps are a combination of capabilities and entry points. 例如,用户可以与您的应用程序的 bot 聊天 (功能) 在 频道 (入口点) 中。For example, people can chat with your app's bot (capability) in a channel (entry point).

有些应用程序很简单 (发送通知) ,而其他应用则 (管理患者记录) 的复杂。Some apps are simple (send notifications), while others are complex (manage patient records). 在规划您的应用程序时,请记住,团队是协作中心。When planning your app, remember that Teams is a collaboration hub. 最佳团队应用可帮助人们自己表达自己并更好地协同工作。The best Teams apps help people express themselves and work better together.

选项卡Tabs

更方便地获取信息:有时只需更轻松地找到一些内容。Get information more conveniently: Sometimes you just need to make things easier to find. 选项卡中显示一个重要的网页,该网页为工作组中的静态和动态内容提供了全屏 web 体验。Display an important webpage in a tab, which provides a full-screen web experience for static and dynamic content in Teams.

选项卡在团队客户端中的外观的概念性表示。

消息传递扩展Messaging extensions

更轻松地执行多项工作:使用 邮件扩展,可以在对话中快速共享外部信息。Make it easier to multitask: With messaging extensions, you can quickly share external information in a conversation. 您还可以对邮件执行操作,例如根据频道帖子的内容创建帮助票证。You also can act on a message, such as creating a help ticket based on the content of a channel post.

邮件扩展在团队客户端中的显示方式的概念性表示。

机器人Bots

单词转换为操作:对话通常会导致需要执行某些操作, (生成订单、查看我的代码、检查票证状态等 ) 。Turn words into actions: Conversations often result in the need to do something (generate an order, review my code, check ticket status, etc.). 机器人可以直接在团队内部启动这些类型的工作流。A bot can kick off these kinds of workflows right inside Teams.

团队客户端中的 bot 外观的概念性表示。

WebhookWebhooks

与外部应用程序通信传入 webhook 是一种将通知从另一个应用程序自动发送到团队频道的简单方法。Communicate with external apps: Incoming webhooks are a simple way to automatically send notifications from another app to a Teams channel. 使用 传出的 webhook,将 @mention 的 web 服务进行消息处理。With outgoing webhooks, message your web service with an @mention.

团队客户端中的连接器外观的概念性表示。

适用于团队的 Microsoft GraphMicrosoft Graph for Teams

利用团队数据适用于团队的 Microsoft Graph API 提供了有关可帮助您创建或增强应用程序功能的团队、频道、用户和消息的信息的访问。Utilize Teams data: The Microsoft Graph API for Teams provides access to information about teams, channels, users, and messages that can help you create or enhance features for your app.

适用于团队的 Microsoft Graph API 的概念性表示。

入门Get started

通过我们的第一个应用教程或了解如何集成和导入现有应用,直接参与。Jump right in with our first app tutorials or find out how to integrate and import existing apps.

开始构建Start building

通过创建一个简单的应用程序并添加一些常用功能,快速熟悉为团队构建。Quickly familiarize yourself with building for Teams by creating a simple app and adding some commonly used capabilities.

与团队集成Integrate with Teams

将用户喜爱的功能与团队协作功能的现有 web 应用、服务或系统融合。Blend the features users love about an existing web app, service, or system with the collaborative features of Teams.

较小的代码是一段较长的方法A little code goes a long way

您无需成为专家级程序员即可构建出色的团队应用程序。You don't need to be an expert programmer to build a great Teams app. 尝试几个低代码解决方案中的一个。Try one of several low-code solutions.