Protected ReadonlyhandlersCollection of handlers registered for different activity types
ProtecteddefaultProtectedReturns the default next event handler. This method creates a function that calls the default handler.
The turn context for the current turn of conversation
A function that calls the default handler
ProtecteddispatchDispatches conversation update activity.
The context object for the turn.
ProtecteddispatchDispatches event activity.
The context object for the turn.
ProtecteddispatchDispatches message delete activity.
The context object for the turn.
ProtecteddispatchProtectedDispatches the MessageReaction activity. This method dispatches message reaction activities to the appropriate handlers.
The turn context for the current turn of conversation
ProtecteddispatchDispatches message update activity.
The context object for the turn.
ProtectedhandleProtectedExecutes the handlers for a specific activity type. This method calls each registered handler for the specified activity type.
The turn context for the current turn of conversation
The activity type to handle
The function to call when all handlers have been executed
The value returned by the last handler
ProtectedhandleHandles anonymous app-based link query.
The context object for the turn.
The app-based link query.
The messaging extension response.
ProtectedhandleHandles app-based link query.
The context object for the turn.
The app-based link query.
The messaging extension response.
ProtectedhandleHandles card action invoke.
The context object for the turn.
The invoke response.
ProtectedhandleHandles config fetch.
The context object for the turn.
The config data.
The config response.
ProtectedhandleHandles config submit.
The context object for the turn.
The config data.
The config response.
ProtectedhandleHandles file consent.
The context object for the turn.
The file consent card response.
ProtectedhandleHandles file consent accept.
The context object for the turn.
The file consent card response.
ProtectedhandleHandles file consent decline.
The context object for the turn.
The file consent card response.
ProtectedhandleHandles messaging extension card button clicked.
The context object for the turn.
The card data.
ProtectedhandleHandles messaging extension configuration query setting URL.
The context object for the turn.
The messaging extension query.
The messaging extension response.
ProtectedhandleHandles messaging extension configuration setting.
The context object for the turn.
The settings.
ProtectedhandleHandles messaging extension fetch task.
The context object for the turn.
The messaging extension action.
The messaging extension action response.
ProtectedhandleHandles messaging extension message preview edit.
The context object for the turn.
The messaging extension action.
The messaging extension action response.
ProtectedhandleHandles messaging extension message preview send.
The context object for the turn.
The messaging extension action.
The messaging extension action response.
ProtectedhandleHandles messaging extension query.
The context object for the turn.
The messaging extension query.
The messaging extension response.
ProtectedhandleHandles messaging extension select item.
The context object for the turn.
The query.
The messaging extension response.
ProtectedhandleHandles messaging extension submit action.
The context object for the turn.
The messaging extension action.
The messaging extension action response.
ProtectedhandleHandles messaging extension submit action dispatch.
The context object for the turn.
The messaging extension action.
The messaging extension action response.
ProtectedhandleHandles task module fetch.
The context object for the turn.
The task module request.
The task module response.
ProtectedhandleHandles task module submit.
The context object for the turn.
The task module request.
The task module response.
ProtectedonProtectedRegisters a handler for a specific activity type. This method adds a handler to the list of handlers for a specific activity type.
The activity type to register the handler for
The handler to register
The current instance for method chaining
ProtectedonProtectedHandles the AdaptiveCardInvoke activity. This method processes adaptive card invoke activities.
The turn context for the current turn of conversation
The adaptive card invoke value
A promise that resolves to an adaptive card invoke response
Registers a handler for the ConversationUpdate activity type. This is called when the conversation is updated, such as when members are added or removed.
The handler to register
The current instance for method chaining
ProtectedonProtectedHandles the ConversationUpdate activity. This method processes conversation update activities.
The turn context for the current turn of conversation
Registers an activity event handler for the dialog event, emitted as the last event for an incoming activity. This handler is called after all other handlers have been processed.
The handler to register
The current instance for method chaining
Registers a handler for the EndOfConversation activity type. This is called when the conversation ends.
The handler to register
The current instance for method chaining
ProtectedonProtectedHandles the EndOfConversation activity. This method processes end of conversation activities.
The turn context for the current turn of conversation
Registers a handler for the InstallationUpdate activity type. This is called when an agent is installed or uninstalled.
The handler to register
The current instance for method chaining
ProtectedonProtectedHandles the InstallationUpdate activity. This method processes installation update activities.
The turn context for the current turn of conversation
Registers a handler for the InstallationUpdateAdd activity type. This is called when an agent is installed or upgraded.
The handler to register
The current instance for method chaining
Registers a handler for the InstallationUpdateRemove activity type. This is called when an agent is uninstalled or downgraded.
The handler to register
The current instance for method chaining
ProtectedonHandles invoke activities.
The context object for the turn.
The invoke response.
Registers a handler for the MembersAdded activity type. This is called when new members are added to the conversation.
The handler to register
The current instance for method chaining
Registers a handler for the MembersRemoved activity type. This is called when members are removed from the conversation.
The handler to register
The current instance for method chaining
Registers a handler for the Message activity type. This is called when a message is received from the user.
The handler to register
The current instance for method chaining
ProtectedonProtectedHandles the Message activity. This method processes incoming message activities.
The turn context for the current turn of conversation
Registers a handler for the MessageDelete activity type. This is called when a message is deleted.
The handler to register
The current instance for method chaining
ProtectedonProtectedHandles the MessageDelete activity. This method processes message deletion activities.
The turn context for the current turn of conversation
Registers a handler for the MessageReaction activity type. This is called when reactions are added or removed from messages.
The handler to register
The current instance for method chaining
ProtectedonProtectedHandles the MessageReaction activity. This method processes message reaction activities.
The turn context for the current turn of conversation
Registers a handler for the MessageUpdate activity type. This is called when a message is updated.
The handler to register
The current instance for method chaining
ProtectedonProtectedHandles the MessageUpdate activity. This method processes message update activities.
The turn context for the current turn of conversation
Registers a handler for the ReactionsAdded activity type. This is called when reactions are added to messages.
The handler to register
The current instance for method chaining
Registers a handler for the ReactionsRemoved activity type. This is called when reactions are removed from messages.
The handler to register
The current instance for method chaining
ProtectedonProtectedHandles the SearchInvoke activity. This method processes search invoke activities.
The turn context for the current turn of conversation
The search invoke value
A promise that resolves to a search invoke response
Registers a handler for the SignInInvoke activity type. This is called when a sign-in is requested.
The handler to register
The current instance for method chaining
ProtectedonProtectedHandles the SignInInvoke activity. This method processes sign-in invoke activities.
The turn context for the current turn of conversation
ProtectedonHandles Teams channel created.
The context object for the turn.
Registers a handler for Teams channel created event.
The handler function.
ProtectedonHandles Teams channel deleted.
The context object for the turn.
Registers a handler for Teams channel deleted event.
The handler function.
ProtectedonHandles Teams channel renamed.
The context object for the turn.
Registers a handler for Teams channel renamed event.
The handler function.
ProtectedonHandles Teams channel restored.
The context object for the turn.
Registers a handler for Teams channel restored event.
The handler function.
ProtectedonHandles Teams meeting end.
The context object for the turn.
Registers a handler for Teams meeting end event.
The handler function.
ProtectedonHandles Teams meeting participants join.
The context object for the turn.
Registers a handler for Teams meeting participants join event.
The handler function.
ProtectedonHandles Teams meeting participants leave.
The context object for the turn.
Registers a handler for Teams meeting participants leave event.
The handler function.
ProtectedonHandles Teams meeting start.
The context object for the turn.
Registers a handler for Teams meeting start event.
The handler function.
ProtectedonHandles Teams members added.
The context object for the turn.
Registers a handler for Teams members added event.
The handler function.
ProtectedonHandles Teams members removed.
The context object for the turn.
Registers a handler for Teams members removed event.
The handler function.
ProtectedonHandles Teams message edit.
The context object for the turn.
Registers a handler for Teams message edit event.
The handler function.
ProtectedonHandles Teams message soft delete.
The context object for the turn.
Registers a handler for Teams message soft delete event.
The handler function.
ProtectedonHandles Teams message undelete.
The context object for the turn.
Registers a handler for Teams message undelete event.
The handler function.
ProtectedonHandles Teams read receipt.
The context object for the turn.
Registers a handler for Teams read receipt event.
The handler function.
ProtectedonHandles Teams team archived.
The context object for the turn.
Registers a handler for Teams team archived event.
The handler function.
ProtectedonHandles Teams team deleted.
The context object for the turn.
Registers a handler for Teams team deleted event.
The handler function.
ProtectedonHandles Teams team hard deleted.
The context object for the turn.
Registers a handler for Teams team hard deleted event.
The handler function.
ProtectedonHandles Teams team renamed.
The context object for the turn.
Registers a handler for Teams team renamed event.
The handler function.
ProtectedonHandles Teams team restored.
The context object for the turn.
Registers a handler for Teams team restored event.
The handler function.
ProtectedonHandles Teams team unarchived.
The context object for the turn.
Registers a handler for Teams team unarchived event.
The handler function.
Registers a handler for the Turn activity type. This is called for all activities regardless of type.
The handler to register
The current instance for method chaining
ProtectedonProtectedHandles the Turn activity. This method is called for every activity type and dispatches to the appropriate handler.
The turn context for the current turn of conversation
Registers a handler for the Typing activity type. This is called when a typing indicator is received.
The handler to register
The current instance for method chaining
ProtectedonProtectedHandles the Typing activity. This method processes typing indicator activities.
The turn context for the current turn of conversation
ProtectedonProtectedHandles unrecognized activity types. This method processes activities with unrecognized types.
The turn context for the current turn of conversation
Registers a handler for unrecognized activity types. This is called when an activity type is not recognized.
The handler to register
The current instance for method chaining
Runs the activity handler pipeline. This method is called to process an incoming activity through the registered handlers.
The turn context for the current turn of conversation
Protected StaticcreateProtectedCreates an InvokeResponse object. This static method creates an invoke response with the specified body.
Optionalbody: anyThe body of the response
An invoke response object with status and body
A handler for processing Microsoft Teams-specific activities. Extends the ActivityHandler class to provide additional Teams-specific functionality. This class includes methods for handling various Teams events, such as message updates, channel events, and meeting events.