TeamsBotApplication.HasMatchingRoute(CoreActivity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether any registered route matches the given activity.
public bool HasMatchingRoute(Microsoft.Teams.Core.Schema.CoreActivity activity);
member this.HasMatchingRoute : Microsoft.Teams.Core.Schema.CoreActivity -> bool
Public Function HasMatchingRoute (activity As CoreActivity) As Boolean
Parameters
- activity
- CoreActivity
The activity to check against registered routes.
Returns
true if at least one route matches; otherwise, false.