The type of turn state that extends TurnState
Creates a new AgentExtension instance for the specified channel.
The type of turn state that extends TurnState
The channel ID that this extension will be associated with
Adds a route to the agent application that is only active for the channel specified in this extension. This method creates a channel-specific route by wrapping the provided route selector with an additional check to ensure the incoming activity matches the extension's channel ID.
The agent application instance to add the route to
A function that determines if the route should handle the incoming activity
The handler function that will process the activity when the route is matched
Optional. Whether this route handles invoke activities. Defaults to false
Optional. The priority rank of this route for routing precedence. Defaults to RouteRank.Unspecified
Represents an extension that adds channel-specific routing functionality to an agent application. This class allows you to register routes that are only active for a specific channel.