IntentFollowUpPromptPrompt constructor

const IntentFollowUpPromptPrompt({
  1. required Input<int> maxAttempts,
  2. required Input<List<IntentFollowUpPromptPromptMessage>> messages,
  3. Input<String?>? responseCard,
})

Creates a new IntentFollowUpPromptPrompt. maxAttempts The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive). messages A set of messages, each of which provides a message string and its type. responseCard The response card. Amazon Lex will substitute session attributes and

Implementation

const IntentFollowUpPromptPrompt({
  required this.maxAttempts,
  required this.messages,
  this.responseCard,
});