Language

AdaptiveCardResponseBuilder Class

Definition

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.

Applies to