Table of Contents

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 AdaptiveCard

An 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 string

A message.

Returns

AdaptiveCardInvokeResponse

The response that includes a message that the client should display.