
See the Teams Card Reference for supported cards. Maximum 1024×1024 and 1 MB in PNG, JPEG, or GIF format animated GIF are not supported. You can specify the type of content your bot can handle in the Microsoft Teams settings page for your bot. Users can send rich text and pictures to your bot. Your bot can send rich text, pictures, and cards.

The Bot Builder SDK provides easy access to this API, additional functionality to manage conversation flow and state, and simple ways to incorporate cognitive services such as natural language processing (NLP). Messages are for the most part the same in across all scopes, but there are differences in how the bot is accessed in the UI and differences behind the scenes which you will need to know about.īasic conversation is handled through the Bot Framework Connector, a single REST API to enable your bot to communicate with Teams and other channels. For more information, see Handle bot events in Microsoft Teams. Your bot examines the message to determine its type and responds accordingly.īots also support event-style messages. When a user sends a message, Teams posts the message to your bot specifically, it sends a JSON object to your bot's messaging endpoint. Examples include:Įach message is an Activity object of type messageType: message. If a bot initiates a conversation it is called a proactive message. Most communication is in response to another message. Proactive messagesīots can participate in a conversation or initiate one. Scopes are defined and discussed further in the Manifest Reference. In order for the bot to work in a particular scope it should be listed as supporting that scope in the manifest.

This article is based on the v3 Bot Framework SDK.
