CardActionBot.RegisterHandler(IAdaptiveCardActionHandler) 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.
Registers an adaptive card action handler to the conversation bot.
public void RegisterHandler (Microsoft.TeamsFx.Conversation.IAdaptiveCardActionHandler cardActionHandler);
member this.RegisterHandler : Microsoft.TeamsFx.Conversation.IAdaptiveCardActionHandler -> unit
Public Sub RegisterHandler (cardActionHandler As IAdaptiveCardActionHandler)
Parameters
- cardActionHandler
- IAdaptiveCardActionHandler
A card action handler implements IAdaptiveCardActionHandler.
Exceptions
cardActionHandler
is null.