Skip to content

DTMFSpecification

Source code in docs_src/capo_lex_models_v2/types/dtmf_specification.py
class DTMFSpecification(TypedDict, closed=True):
    max_length: "capo_lex_models_v2.types.max_utterance_digits.MaxUtteranceDigits"
    """<p>The maximum number of DTMF digits allowed in an utterance.</p>"""
    end_timeout_ms: "capo_lex_models_v2.types.time_in_milli_seconds.TimeInMilliSeconds"
    """<p>How long the bot should wait after the last DTMF character input before assuming that the input has concluded.</p>"""
    deletion_character: "capo_lex_models_v2.types.dtmf_character.DTMFCharacter"
    """<p>The DTMF character that clears the accumulated DTMF digits and immediately ends the input.</p>"""
    end_character: "capo_lex_models_v2.types.dtmf_character.DTMFCharacter"
    """<p>The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.</p>"""

deletion_character instance-attribute

deletion_character: DTMFCharacter

The DTMF character that clears the accumulated DTMF digits and immediately ends the input.

end_character instance-attribute

end_character: DTMFCharacter

The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.

end_timeout_ms instance-attribute

end_timeout_ms: TimeInMilliSeconds

How long the bot should wait after the last DTMF character input before assuming that the input has concluded.

max_length instance-attribute

max_length: MaxUtteranceDigits

The maximum number of DTMF digits allowed in an utterance.