IntentFollowUpPromptPrompt class
Constructors
-
IntentFollowUpPromptPrompt({required Input<
int> maxAttempts, required Input<List< messages, Input<IntentFollowUpPromptPromptMessage> >String?> ? responseCard}) -
Creates a new IntentFollowUpPromptPrompt.
maxAttemptsThe number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).messagesA set of messages, each of which provides a message string and its type.responseCardThe response card. Amazon Lex will substitute session attributes andconst -
IntentFollowUpPromptPrompt.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maxAttempts
→ Input<
int> -
The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
final
-
messages
→ Input<
List< IntentFollowUpPromptPromptMessage> > -
A set of messages, each of which provides a message string and its type.
You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML).
Attributes are documented under message. Must contain between 1 and 15 messages.
final
-
responseCard
→ Input<
String?> ? -
The response card. Amazon Lex will substitute session attributes and
slot values into the response card. For more information, see
Example: Using a Response Card. Must be less than or equal to 50000 characters in length.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited