Sha256: 403229675a06ef3c05b03413543baec5c2ba9b685dbf53212457092dff0c385f
Contents?: true
Size: 910 Bytes
Versions: 17
Compression:
Stored size: 910 Bytes
Contents
module Bandwidth module Bxml class SendDtmf < Bandwidth::Bxml::Verb # Initializer # @param digits [String] String containing the DTMF characters to be sent in a call. Allows a maximum of 50 characters. The digits will be sent one-by-one with a marginal delay. # @param attributes [Hash] The attributes to add to the element. Defaults to an empty hash. def initialize(digits, attributes = {}) super('SendDtmf', digits, attributes) @attribute_map = { tone_duration: 'toneDuration', # Optional [Number]: The length (in milliseconds) of each DTMF tone. Default value is 200. Range: decimal values between 50 - 5000. tone_interval: 'toneInterval', # Optional [Number]: The duration of silence (in milliseconds) following each DTMF tone. Default value is 400. Range: decimal values between 50 - 5000. } end end end end
Version data entries
17 entries across 17 versions & 1 rubygems