- twilio-say text #!key voice loop languageprocedure
Say something; see http://www.twilio.com/docs/api/twiml/say.
- text
- The text to say
- voice
- The voice to say it in
- loop
- How many times to say it
- language
- The language to say it in
(define (twilio-say text #!key voice loop language) (let ((parameters (lower-camel-filter-parameters `((voice ,voice) (loop ,loop) (language ,language))))) (if (null? parameters) `(Say ,text) `(Say (,(string->symbol "@") ,@(lower-camel-filter-parameters parameters)) ,text))))