IAdaptiveCardActionHandler Interface

Definition

Represents an adaptive card action handler to respond to an adaptiveCard/action invoke activity.

public interface IAdaptiveCardActionHandler
type IAdaptiveCardActionHandler = interface
Public Interface IAdaptiveCardActionHandler

Properties

AdaptiveCardResponse

Indicates the behavior for how the card response will be sent in Teams conversation. The default value is AdaptiveCardResponse.ReplaceForInteractor, which means the card response will replace the current one only for the interactor.

TriggerVerb

The verb defined in adaptive card action that can trigger this handler. The verb string here is case-insensitive.

Methods

HandleActionInvokedAsync(ITurnContext, Object, CancellationToken)

The handler function that will be invoked when the card action is executed.

Applies to