AdaptiveCardExtensions Class
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.
Extension methods for registering adaptive card action invoke handlers.
public static class AdaptiveCardExtensions
type AdaptiveCardExtensions = class
Public Module AdaptiveCardExtensions
- Inheritance
-
AdaptiveCardExtensions
Methods
| Name | Description |
|---|---|
| OnAdaptiveCardAction(TeamsBotApplication, AdaptiveCardActionHandler) |
Registers a handler for adaptive card action invoke activities. Cannot be combined with OnInvoke(TeamsBotApplication, InvokeHandler). |
| OnSearch(TeamsBotApplication, SearchHandler) |
Registers a handler for 'application/search' invoke activities. The handler returns an InvokeResponse<TBody> carrying a SearchResponse body. Cannot be combined with OnInvoke(TeamsBotApplication, InvokeHandler). |