InvokeResponseFactory Class

Definition

Contains utility methods for various invoke response types for an adaptiveCard/action invoke response.

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

Methods

AdaptiveCard(Object)

Creates invoke response with an adaptive card.

CreateInvokeResponse(HttpStatusCode, Object)

Creates invoke response with status code and response body.

ErrorResponse(InvokeResponseErrorCode, String)

Creates invoke response with error code and error message.

TextMessage(String)

Creates invoke response with a text message.

Applies to