Extension for Alexa.NET that supports Alexa Conversations
DialogApiInvokedRequest.AddToRequestConverter();
DialogDelegateRequestDirective.AddSupport()
if skillRequest.Request is DialogApiInvokedRequest
...
var response = ResponseBuilder.Empty();
response.Response = new DialogConversationResponse{
ApiResponse = new Dictionary<string,object>{
//... API properties returned here ...
}
}
skillResponse.Response.Directives.Add(DialogDelegateRequestDirective.ToConversations(DelegatePeriod.ExplicitReturn))
})
skillResponse.Response.Directives.Add(DialogDelegateRequestDirective.ToSkill(DelegatePeriod.NextTurn, updatedIntent))
})