Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.07 KB

File metadata and controls

26 lines (20 loc) · 1.07 KB

Freeclimb::Say

Properties

Name Type Description Notes
text String The message to be played to the caller using TTS. The size of the string is limited to 4 KB (or 4,096 bytes). An empty string will cause the command to be skipped.
language String Language and (by implication) the locale to use. This implies the accent and pronunciations to be usde for the TTS. The complete list of valid values for the language attribute is shown below. [optional]
engine TTSEngine [optional]
loop Integer Number of times the text is said. Specifying '0' causes the `Say` action to loop until the Call is hung up. [optional][default to 1]
privacy_mode Boolean Parameter `privacyMode` will not log the `text` as required by PCI compliance. [optional]

Example

require 'freeclimb'

instance = Freeclimb::Say.new(
  text: null,
  language: null,
  engine: null,
  loop: null,
  privacy_mode: null
)