IntentConfirmationPrompt constructor

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

Creates a new IntentConfirmationPrompt. maxAttempts The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive). messages Required. responseCard Optional.

Implementation

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