Class AdaptiveCardInvokeResponseFactory
- Namespace
- Microsoft.Agents.Builder.App.AdaptiveCards
- Assembly
- Microsoft.Agents.Builder.dll
Contains utility methods for creating various types of Microsoft.Agents.Core.Models.AdaptiveCardInvokeResponse.
public static class AdaptiveCardInvokeResponseFactory
- Inheritance
-
AdaptiveCardInvokeResponseFactory
- Inherited Members
Methods
AdaptiveCard(AdaptiveCard)
Returns response with type "application/vnd.microsoft.card.adaptive".
public static AdaptiveCardInvokeResponse AdaptiveCard(AdaptiveCard adaptiveCard)
Parameters
adaptiveCard
AdaptiveCardAn Adaptive Card.
Returns
- AdaptiveCardInvokeResponse
The response that includes an Adaptive Card that the client should display.
Message(string)
Returns response with type "application/vnd.microsoft.activity.message".
public static AdaptiveCardInvokeResponse Message(string message)
Parameters
message
stringA message.
Returns
- AdaptiveCardInvokeResponse
The response that includes a message that the client should display.