Microsoft.Teams.Apps Namespace

Classes

Name Description
AdaptiveCardAction

Defines the structure that arrives in the Activity.Value.Action for Invoke activity with Name of 'adaptiveCard/action'.

AdaptiveCardActionValue

Defines the structure that arrives in the Activity.Value for Invoke activity with Name of 'adaptiveCard/action'.

AdaptiveCardExtensions

Extension methods for registering adaptive card action invoke handlers.

AdaptiveCardResponse

Response for adaptive card action activities.

AdaptiveCardResponseBuilder

Builder for AdaptiveCardResponse.

AdaptiveCardResponseType

Adaptive card response types.

AdaptiveCardResponseTypes

Adaptive card response types.

AgenticUserDeletedValue

Payload for the AgenticUserDeleted lifecycle event.

AgenticUserDisabledValue

Payload for the AgenticUserDisabled lifecycle event.

AgenticUserEnabledValue

Payload for the AgenticUserEnabled lifecycle event.

AgenticUserIdentityCreatedValue

Payload for the AgenticUserIdentityCreated lifecycle event.

AgenticUserIdentityUpdatedValue

Payload for the AgenticUserIdentityUpdated lifecycle event.

AgenticUserManagerUpdatedValue

Payload for the AgenticUserManagerUpdated lifecycle event.

AgenticUserUndeletedValue

Payload for the AgenticUserUndeleted lifecycle event.

AgenticUserWorkloadOnboardingUpdatedValue

Payload for the AgenticUserWorkloadOnboardingUpdated lifecycle event.

AgentLifecycleEventActivity

Represents an Agent 365 agentLifecycle event activity.

AgentLifecycleEventActivity<TValue>

Represents an Agent 365 agentLifecycle event activity with a strongly-typed value payload.

AgentLifecycleEventType

String enum for Agent 365 lifecycle event types.

AgentLifecycleEventTypes

String constants for Agent 365 lifecycle payload eventType values.

AgentLifecycleEventValueType

String enum for Agent 365 lifecycle value types.

AgentLifecycleEventValueTypes

String constants for Agent 365 lifecycle activity valueType values.

AgentLifecycleExtensions

Extension methods for registering Agent 365 lifecycle event activity handlers.

AgentLifecycleManager

Manager profile carried by the AgenticUserIdentityCreated lifecycle event.

AgentLifecycleManagerRef

Manager reference carried by the AgenticUserManagerUpdated lifecycle event.

AgentLifecycleUpdatedProperty

A single property change carried by the AgenticUserIdentityUpdated lifecycle event.

AgentLifecycleValueBase

Fields shared by every Agent 365 lifecycle event payload.

App

Provides a static entry point for creating an AppBuilder.

AppBuilder

Fluent builder for configuring a Teams bot application. Wraps TeamsBotApplicationOptions for backward compatibility with the old App.Builder() pattern.

Context<TActivity>

Context for a bot turn.

ContextLogger

Provides backward-compatible logging methods (.Info(), .Error(), .Debug(), .Warn()) that delegate to an underlying ILogger instance.

ConversationEventType

String enum for conversation event types.

ConversationEventTypes

Common conversation event type values.

ConversationUpdateActivity

Represents a conversation update activity.

ConversationUpdateExtensions

Extension methods for registering conversation update activity handlers.

EventActivity

Represents an event activity.

EventActivity<TValue>

Represents an event activity with a strongly-typed value.

EventExtensions

Extension methods for registering generic event activity handlers.

EventName

String constants for event activity names.

EventNames

Common event activity name values.

InstallUpdateAction

String constants for installation update actions.

InstallUpdateActions

Common installation update action values.

InstallUpdateActivity

Represents an installation update activity.

InstallUpdateExtensions

Extension methods for registering installation update activity handlers.

InvokeActivity

Represents an invoke activity.

InvokeActivity<TValue>

Represents an invoke activity with a strongly-typed value.

InvokeExtensions

Provides extension methods for registering handlers for invoke activities in a Teams bot application.

InvokeName

String constants for invoke activity names.

InvokeNames

String constants for invoke activity names.

InvokeResponse

Represents the response returned from an invocation handler, typically used for Adaptive Card actions and task module operations.

InvokeResponse<TBody>

Represents a strongly-typed response returned from an invocation handler.

MessageActivity

Represents a message activity.

MessageActivityExtensions

Fluent extension methods for MessageActivity.

These are retained only for backward compatibility. MessageActivity is an inbound (received) activity type. To construct and send a message, use MessageActivityInput with fluent methods instead.

MessageActivityInput

Represents an outbound message activity constructed by a builder and sent by the API clients.

MessageDeleteActivity

Represents a message delete activity.

MessageFetchTaskActionValue

The nested action value containing the user's reaction.

MessageFetchTaskData

The data payload nested inside the fetch task value.

MessageFetchTaskExtensions

Extension methods for registering message fetch task invoke handlers.

MessageFetchTaskInvokeValue

Defines the structure that arrives in the Activity.Value for an Invoke activity with Name of 'message/fetchTask'. Sent when the user clicks a feedback button (like/dislike) on an AI-generated message.

MessageHandlerExtensions

Extension methods for registering message activity handlers.

MessageReaction

Represents a reaction to a message.

MessageReactionActivity

Represents a message reaction activity.

MessageSubmitActionExtensions

Extension methods for registering message submit action invoke handlers.

MessageSubmitFeedbackValue

Strongly-typed shape of ActionValue when ActionName is "feedback" β€” i.e. when the user submits a custom feedback form. Mirrors the payload Teams sends after the user clicks Submit on the bot's feedback task module.

MessageUpdateActivity

Represents a message update activity.

Plan

Explicit, prompt-bound plan updates. This helper does not own a workflow or a stream.

PlanOptions

Serializable prompt binding for a Plan. Supply the runtime API client separately.

PlanReplyChain

The reply chain (thread) of a chat that a Plan completion is posted to, taken from the inbound channelData.

PlanSentEventArgs

A successful Plan send. Controls acknowledge progress but do not create chat messages.

ReactionType

String constants for reaction types.

ReactionTypes

Common reaction type values.

StreamingActivityInput

Outbound streaming activity chunk used by TeamsStreamingWriter. Has type "typing" to satisfy the Teams streaming API, but carries text content that accumulates into the final response.

SubmitActionValue

Defines the structure that arrives in the Activity.Value for an Invoke activity with Name of 'message/submitAction'.

SuggestedActionSubmitExtensions

Extension methods for registering suggested action submit invoke handlers.

TeamsBotApplication

Teams-specific bot application.

TeamsBotApplicationHostingExtensions

Extension methods for TeamsBotApplication.

TeamsBotApplicationOptions

Options for configuring a TeamsBotApplication. Inherits BotApplicationOptions so a single options object covers both Core and Teams settings.

TeamsStreamingWriter

Manages the send loop for Teams streaming messages. Callers append raw deltas; the writer accumulates them and sends the full text so far on each update. Every chunk β€” informative, intermediate, and final β€” is sent as a new POST with a shared streamId so Teams renders them as a single progressively-updating bubble.

TextFormat

String constants for text formats.

TextFormats

String constants for text formats.

Delegates

Name Description
AdaptiveCardActionHandler

Delegate for handling adaptive card action invoke activities.

AgenticUserDeletedHandler

Delegate for handling agentic user deleted lifecycle event activities.

AgenticUserDisabledHandler

Delegate for handling agentic user disabled lifecycle event activities.

AgenticUserEnabledHandler

Delegate for handling agentic user enabled lifecycle event activities.

AgenticUserIdentityCreatedHandler

Delegate for handling agentic user identity created lifecycle event activities.

AgenticUserIdentityUpdatedHandler

Delegate for handling agentic user identity updated lifecycle event activities.

AgenticUserManagerUpdatedHandler

Delegate for handling agentic user manager updated lifecycle event activities.

AgenticUserUndeletedHandler

Delegate for handling agentic user undeleted lifecycle event activities.

AgenticUserWorkloadOnboardingUpdatedHandler

Delegate for handling agentic user workload onboarding updated lifecycle event activities.

AgentLifecycleHandler

Delegate for handling all Agent 365 lifecycle event activity variants.

ConversationUpdateHandler

Delegate for handling conversation update activities.

EventActivityHandler

Delegate for handling any event activity.

InstallUpdateHandler

Delegate for handling installation update activities.

InvokeHandler

Represents a method that handles an invocation request and returns a response asynchronously.

MessageDeleteHandler

Delegate for handling message delete activities.

MessageFetchTaskHandler

Delegate for handling message fetch task invoke activities.

MessageHandler

Delegate for handling message activities.

MessageReactionHandler

Delegate for handling message reaction activities.

MessageSubmitActionHandler

Delegate for handling message submit action invoke activities.

MessageSubmitFeedbackHandler

Delegate for handling message/submitAction invokes whose actionName is "feedback". The activity's Value is the typed inner MessageSubmitFeedbackValue.

MessageUpdateHandler

Delegate for handling message update activities.

SearchHandler

Delegate for handling 'application/search' invoke activities, sent by Adaptive Card dynamic typeahead 'Input.ChoiceSet' inputs.

SuggestedActionSubmitHandler

Delegate for handling suggestedActions/submit invoke activities. Sent when the user clicks a suggested action of type Action.Submit. The structured payload authored on the suggested action is delivered via Value.