Module Values.DTMFSpecificationSource

Specifies the DTMF input specifications.

Sourcetype nonrec t = {
  1. maxLength : MaxUtteranceDigits.t;
    (*

    The maximum number of DTMF digits allowed in an utterance.

    *)
  2. endTimeoutMs : TimeInMilliSeconds.t;
    (*

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

    *)
  3. deletionCharacter : DTMFCharacter.t;
    (*

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

    *)
  4. endCharacter : DTMFCharacter.t;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : maxLength:MaxUtteranceDigits.t -> endTimeoutMs:TimeInMilliSeconds.t -> deletionCharacter:DTMFCharacter.t -> endCharacter:DTMFCharacter.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MaxUtteranceDigits.t | `String of DTMFCharacter.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t