From 5c86906a88171540bf06e058084c1ac400dbc9a4 Mon Sep 17 00:00:00 2001 From: Aaron Bassett Date: Wed, 2 May 2018 17:00:44 +0200 Subject: [PATCH] Add play TTS into call building block --- voice/play-tts-into-call.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 voice/play-tts-into-call.py diff --git a/voice/play-tts-into-call.py b/voice/play-tts-into-call.py new file mode 100644 index 0000000..1e9a8e1 --- /dev/null +++ b/voice/play-tts-into-call.py @@ -0,0 +1,9 @@ +import nexmo + + +client = nexmo.Client( + application_id=APPLICATION_ID, + private_key=APPLICATION_PRIVATE_KEY_PATH, +) + +client.send_speech(NEXMO_CALL_UUID, text='Hello from Nexmo')