V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecification constructor

const V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecification({
  1. Input<bool?>? allowInterrupt,
  2. Input<V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes?>? allowedInputTypes,
  3. Input<V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification?>? audioAndDtmfInputSpecification,
  4. required Input<String> mapBlockKey,
  5. Input<V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification?>? textInputSpecification,
})

Creates a new V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecification. allowInterrupt Whether the user can interrupt a speech prompt attempt from the bot. allowedInputTypes Configuration block for the allowed input types of the prompt attempt. See allowedInputTypes. audioAndDtmfInputSpecification Configuration block for settings on audio and DTMF input. See audioAndDtmfInputSpecification. mapBlockKey Which attempt to configure. Valid values are Initial, Retry1, Retry2, Retry3, Retry4, Retry5. textInputSpecification Configuration block for the settings on text input. See textInputSpecification.

Implementation

const V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecification({
  this.allowInterrupt,
  this.allowedInputTypes,
  this.audioAndDtmfInputSpecification,
  required this.mapBlockKey,
  this.textInputSpecification,
});