TeamsBotAdapter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a Bot Framework adapter that enables compatibility between the Bot Framework SDK and a custom bot application implementation.
public class TeamsBotAdapter : Microsoft.Bot.Builder.BotAdapter
type TeamsBotAdapter = class
inherit BotAdapter
Public Class TeamsBotAdapter
Inherits BotAdapter
- Inheritance
-
TeamsBotAdapter
- Derived
Remarks
Use this adapter to bridge Bot Framework turn contexts and activities with a custom bot application. This class is intended for scenarios where integration with non-standard bot runtimes or legacy systems is required.
Constructors
| Name | Description |
|---|---|
| TeamsBotAdapter(BotApplication, IHttpContextAccessor, ILogger) |
Provides a Bot Framework adapter that enables compatibility between the Bot Framework SDK and a custom bot application implementation. |
Methods
| Name | Description |
|---|---|
| DeleteActivityAsync(ITurnContext, ConversationReference, CancellationToken) |
Deletes an activity from the conversation. |
| SendActivitiesAsync(ITurnContext, Activity[], CancellationToken) |
Sends a set of activities to the conversation. |
| UpdateActivityAsync(ITurnContext, Activity, CancellationToken) |
Updates an existing activity in the conversation. |