Jaa


ActivityHandler.CreateInvokeResponse(Object) Method

Definition

An InvokeResponse factory that initializes the body to the parameter passed and status equal to OK.

protected static Microsoft.Bot.Builder.InvokeResponse CreateInvokeResponse (object body = default);
static member CreateInvokeResponse : obj -> Microsoft.Bot.Builder.InvokeResponse
Protected Shared Function CreateInvokeResponse (Optional body As Object = Nothing) As InvokeResponse

Parameters

body
Object

JSON serialized content from a POST response.

Returns

A new InvokeResponse object.

Applies to