AdaptiveCardResponseBuilder 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.
Builder for AdaptiveCardResponse.
public class AdaptiveCardResponseBuilder
type AdaptiveCardResponseBuilder = class
Public Class AdaptiveCardResponseBuilder
- Inheritance
-
AdaptiveCardResponseBuilder
Constructors
| Name | Description |
|---|---|
| AdaptiveCardResponseBuilder() | |
Methods
| Name | Description |
|---|---|
| Build() |
Builds the AdaptiveCardResponse and wraps it in an InvokeResponse<TBody>. |
| WithStatusCode(Int32) |
Sets the HTTP status code for the response. |
| WithType(AdaptiveCardResponseType) |
Sets the type of the response. See AdaptiveCardResponseTypes for common values. |
| WithValue(Object) |
Sets the value for the response. |