protected LexResponse ElicitSlot(IDictionary <string, string> sessionAttributes, string intentName, IDictionary <string, string> slots, string slotToElicit, LexResponse.LexMessage message) { return(new LexResponse { SessionAttributes = sessionAttributes, DialogAction = new LexResponse.LexDialogAction { Type = "ElicitSlot", IntentName = intentName, Slots = slots, SlotToElicit = slotToElicit, Message = message } }); }
protected LexResponse ConfirmIntent(IDictionary <string, string> sessionAttributes, string intentName, IDictionary <string, string> slots, LexResponse.LexMessage message) { return(new LexResponse { SessionAttributes = sessionAttributes, DialogAction = new LexResponse.LexDialogAction { Type = "ConfirmIntent", IntentName = intentName, Slots = slots, Message = message } }); }
protected LexResponse Close(IDictionary <string, string> sessionAttributes, string fulfillmentState, LexResponse.LexMessage message) { return(new LexResponse { SessionAttributes = sessionAttributes, DialogAction = new LexResponse.LexDialogAction { Type = "Close", FulfillmentState = fulfillmentState, Message = message } }); }