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

Name Description
AdaptiveCard(String)

Returns response with type AdaptiveCard.

BadRequest(String)

Creates an Error of type "BadRequest" AdaptiveCardInvokeResponse.

Error(HttpStatusCode, String, String)

Creates an Error AdaptiveCardInvokeResponse.

IncorrectAuthCode()

Returns response with type IncorrectAuthCode.

InternalError(String)

Creates an Error of type InternalError AdaptiveCardInvokeResponse.

Login(OAuthCard)

Returns response with type LoginRequest.

Message(String)

Returns response with type Message.

NotSupported(String)

Creates an Error of type "NotSupported" AdaptiveCardInvokeResponse.

PreConditionFailed(String, String)

Returns response with type PreConditionFailed.

Applies to