Interface CfnBot.IDialogActionProperty
Defines the action that the bot executes at runtime when the conversation reaches this step.
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public interface IDialogActionProperty
Syntax (vb)
Public Interface IDialogActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var dialogActionProperty = new DialogActionProperty {
Type = "type",
// the properties below are optional
SlotToElicit = "slotToElicit",
SuppressNextMessage = false
};
Synopsis
Properties
SlotToElicit | If the dialog action is |
SuppressNextMessage | When true the next message for the intent is not used. |
Type | The action that the bot should execute. |
Properties
SlotToElicit
If the dialog action is ElicitSlot
, defines the slot to elicit from the user.
virtual string SlotToElicit { get; }
Property Value
System.String
Remarks
SuppressNextMessage
When true the next message for the intent is not used.
virtual object SuppressNextMessage { get; }
Property Value
System.Object
Remarks
Type
The action that the bot should execute.
string Type { get; }
Property Value
System.String