Language

TeamsBotAdapter Class

Definition

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.

Applies to