InvokeResponseFactory Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |