Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data PromptAttemptSpecification = PromptAttemptSpecification' {}
- newPromptAttemptSpecification :: AllowedInputTypes -> PromptAttemptSpecification
- promptAttemptSpecification_allowInterrupt :: Lens' PromptAttemptSpecification (Maybe Bool)
- promptAttemptSpecification_audioAndDTMFInputSpecification :: Lens' PromptAttemptSpecification (Maybe AudioAndDTMFInputSpecification)
- promptAttemptSpecification_textInputSpecification :: Lens' PromptAttemptSpecification (Maybe TextInputSpecification)
- promptAttemptSpecification_allowedInputTypes :: Lens' PromptAttemptSpecification AllowedInputTypes
Documentation
data PromptAttemptSpecification Source #
Specifies the settings on a prompt attempt.
See: newPromptAttemptSpecification
smart constructor.
PromptAttemptSpecification' | |
|
Instances
newPromptAttemptSpecification Source #
Create a value of PromptAttemptSpecification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allowInterrupt:PromptAttemptSpecification'
, promptAttemptSpecification_allowInterrupt
- Indicates whether the user can interrupt a speech prompt attempt from
the bot.
$sel:audioAndDTMFInputSpecification:PromptAttemptSpecification'
, promptAttemptSpecification_audioAndDTMFInputSpecification
- Specifies the settings on audio and DTMF input.
$sel:textInputSpecification:PromptAttemptSpecification'
, promptAttemptSpecification_textInputSpecification
- Specifies the settings on text input.
$sel:allowedInputTypes:PromptAttemptSpecification'
, promptAttemptSpecification_allowedInputTypes
- Indicates the allowed input types of the prompt attempt.
promptAttemptSpecification_allowInterrupt :: Lens' PromptAttemptSpecification (Maybe Bool) Source #
Indicates whether the user can interrupt a speech prompt attempt from the bot.
promptAttemptSpecification_audioAndDTMFInputSpecification :: Lens' PromptAttemptSpecification (Maybe AudioAndDTMFInputSpecification) Source #
Specifies the settings on audio and DTMF input.
promptAttemptSpecification_textInputSpecification :: Lens' PromptAttemptSpecification (Maybe TextInputSpecification) Source #
Specifies the settings on text input.
promptAttemptSpecification_allowedInputTypes :: Lens' PromptAttemptSpecification AllowedInputTypes Source #
Indicates the allowed input types of the prompt attempt.