Leer en inglés

Compartir a través de


Microsoft.Teams.AI Namespace

Classes

AdaptiveCardInvokeResponseFactory

Contains utility methods for creating various types of AdaptiveCardInvokeResponse.

AdaptiveCards<TState>

AdaptiveCards class to enable fluent style registration of handlers related to Adaptive Cards.

AdaptiveCardsInvokeNames

Constants for adaptive card invoke names

AdaptiveCardsOptions

Options for AdaptiveCards class.

AdaptiveCardsSearchParams

Parameters passed to AdaptiveCards.OnSearch() handler.

AdaptiveCardsSearchResult

Individual result returned from AdaptiveCards.OnSearch() handler.

Application<TState>

Application class for routing and processing incoming requests.

ApplicationBuilder<TState>

A builder class for simplifying the creation of an Application instance.

ApplicationOptions<TState>

Options for the Application<TState> class.

AuthenticationManager<TState>

The user authentication manager

AuthenticationOptions<TState>

Options for authentication.

ConversationUpdateEvents

Conversation update events.

Meetings<TState>

Meetings class to enable fluent style registration of handlers related to Microsoft Teams Meetings.

MessageExtensions<TState>

MessageExtensions class to enable fluent style registration of handlers related to Message Extensions.

MessageExtensionsInvokeNames

Constants for message extension invoke names

MultipleRouteSelector

Combination of String, Regex, and RouteSelectorAsync selectors.

OAuthAuthentication<TState>

Handles authentication using OAuth Connection.

OAuthSettings

The settings for OAuthAuthentication.

Query<TParams>

Query arguments for Message Extension query and Adaptive Card dynamic search.

SignInResponse

The sign-in response

TaskModules<TState>

TaskModules class to enable fluent style registration of handlers related to Task Modules.

TaskModulesOptions

Options for TaskModules class.

TeamsSsoAuthentication<TState>

Handles authentication based on Teams SSO.

TeamsSsoSettings

Settings to initialize TeamsSsoAuthentication class

Interfaces

IAuthentication<TState>

Handles user sign-in and sign-out.

Enums

SignInStatus

The sign-in status

Delegates

ActionExecuteHandlerAsync<TState>

Function for handling Adaptive Card Action.Execute events.

ActionSubmitHandler<TState>

Function for handling Adaptive Card Action.Submit events.

BotMessagePreviewEditHandlerAsync<TState>

Function for handling Message Extension botMessagePreview edit events.

BotMessagePreviewSendHandler<TState>

Function for handling Message Extension botMessagePreview send events.

CardButtonClickedHandler<TState>

Function for handling Message Extension clicking card button events.

ConfigHandlerAsync<TState>

Function for handling config events.

ConfigureSettingsHandler<TState>

Function for handling Message Extension configuring settings events.

FetchHandlerAsync<TState>

Function for handling Task Module fetch events.

FetchTaskHandlerAsync<TState>

Function for handling Message Extension fetchTask events.

FileConsentHandler<TState>

Function for handling file consent card activities.

MeetingEndHandler<TState>

Function for handling Microsoft Teams meeting end events.

MeetingParticipantsEventHandler<TState>

Function for handling Microsoft Teams meeting participants join or leave events.

MeetingStartHandler<TState>

Function for handling Microsoft Teams meeting start events.

O365ConnectorCardActionHandler<TState>

Function for handling O365 Connector Card Action activities.

QueryHandlerAsync<TState>

Function for handling Message Extension query events.

QueryLinkHandlerAsync<TState>

Function for handling Message Extension link unfurling events.

QueryUrlSettingHandlerAsync<TState>

Function for handling Message Extension configuring query setting url events.

ReadReceiptHandler<TState>

Function for handling read receipt events.

RouteHandler<TState>

The common route handler. Function for handling an incoming request.

RouteSelectorAsync

Function for selecting whether a route handler should be triggered.

SearchHandlerAsync<TState>

Function for handling Adaptive Card dynamic search events.

SelectItemHandlerAsync<TState>

Function for handling Message Extension selecting item events.

SelectorAsync

Function for determining whether authentication should be enabled for an activity.

SubmitActionHandlerAsync<TState>

Function for handling Message Extension submitAction events.

SubmitHandlerAsync<TState>

Function for handling Task Module submit events.

TurnEventHandlerAsync<TState>

Turn event handler to do something before or after a turn is run. Returning false from beforeTurn lets you prevent the turn from running and returning false from afterTurn lets you prevent the bots state from being saved.

Returning false from beforeTurn does result in the bots state being saved which lets you track the reason why the turn was not processed. It also means you can use beforeTurn as a way to call into the dialog system. For example, you could use the OAuthPrompt to sign the user in before allowing the AI system to run.