Microsoft.Agents.Extensions.MSTeams.TaskModules Namespace

Classes

Name Description
KeyValueRouteBuilderBase<TBuilder>

Base builder for configuring task module routes that handle key-based Invoke activities in an AgentApplication. Supports matching the value of a named key field using either an exact string or a regular expression pattern, and ensures the route is properly configured for Invoke routing before building.

TaskFetchRouteBuilder

Provides a builder for configuring fetch routes in an AgentApplication.

TaskModule

Provides methods for registering handlers for Teams Task Module fetch and submit events.

TaskSubmitRouteBuilder

Provides a builder for configuring submit routes in an AgentApplication.

TeamsTaskFetchRouteAttribute

Attribute to define a route that handles Teams task module fetch events. The decorated method must match the TaskFetchHandler delegate signature — the third parameter must be Microsoft.Teams.Api.TaskModules.Request.

TeamsTaskSubmitRouteAttribute

Attribute to define a route that handles Teams task module submit events. The decorated method must match the TaskSubmitHandler delegate signature — the third parameter must be Microsoft.Teams.Api.TaskModules.Request.

Delegates

Name Description
TaskFetchHandler

Function for handling Task Module fetch events.

TaskSubmitHandler

Function for handling Task Module submit events.