編輯

共用方式為


Develop message extensions for Microsoft Teams

Important

The articles in this section are based on the v3 Bot Framework SDK. If you're looking for current documentation (version 4.6 or later version of the SDK), see the Task-oriented interactions with Message Extensions section.

Message extensions are a powerful way for users to engage with your app from Microsoft Teams. With this capability, users can query or post information to and from your service and post that information, in the form of cards, right into a message.

Example of message extension card

Message extensions appear along the bottom of the compose box. A few are built in, such as Emoji, gif, and Sticker. Choose the More Options () button to see other message extensions, including those you add from the app gallery or upload yourself.

How would you use message extensions? Here are a few possibilities:

  • Work items and bugs.
  • Customer support tickets.
  • Usage charts and reports.
  • Images and media content.
  • Sales opportunities and leads.

Types of message extensions

There's primarily two kinds of message extensions you can create for Teams today. The following topics guide you through the process of creating them: