Freigeben über


AdaptiveCardInvokeResponseFactory Class

Definition

Contains utility methods for creating various types of AdaptiveCardInvokeResponse.

public static class AdaptiveCardInvokeResponseFactory
type AdaptiveCardInvokeResponseFactory = class
Public Class AdaptiveCardInvokeResponseFactory
Inheritance
AdaptiveCardInvokeResponseFactory

Methods

AdaptiveCard(String)

Returns response with type "application/vnd.microsoft.card.adaptive".

BadRequest(String)

Creates an Error of type "BadRequest" AdaptiveCardInvokeResponse.

Error(HttpStatusCode, String, String)

Creates an Error AdaptiveCardInvokeResponse.

InternalError(String)

Creates an Error of type InternalError AdaptiveCardInvokeResponse.

Message(String)

Returns response with type "application/vnd.microsoft.activity.message".

NotSupported(String)

Creates an Error of type "NotSupported" AdaptiveCardInvokeResponse.

Applies to