From bc7eca34b6e3dfb5e56ccdbcc5e45f238f2e4960 Mon Sep 17 00:00:00 2001 From: ajay-plivo Date: Tue, 19 Dec 2023 16:07:04 +0530 Subject: [PATCH] paramAdditionInSpeakApi --- CHANGELOG.md | 3 +++ plivo/resources/calls.py | 14 +++++++++----- plivo/version.py | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34c029b6..de2f82ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Change Log +## [4.47.1](https://github.com/plivo/plivo-python/tree/v4.47.1) (2023-12-19) +**Type param addition in speak api for call and mpc** + ## [4.47.0](https://github.com/plivo/plivo-python/tree/v4.47.0) (2023-12-07) **Minor enhancements and optimizations** diff --git a/plivo/resources/calls.py b/plivo/resources/calls.py index 8a4f0cbe..8e01dce4 100644 --- a/plivo/resources/calls.py +++ b/plivo/resources/calls.py @@ -72,7 +72,8 @@ def speak(self, language=None, legs=None, loop=None, - mix=None, is_voice_request=True): + mix=None, + type=None, is_voice_request=True): return self.client.calls.speak(self.id, **to_param_dict(self.start_playing, locals())) @@ -83,7 +84,8 @@ def start_speaking(self, language=None, legs=None, loop=None, - mix=None): + mix=None, + type=None): return self.client.calls.start_speaking(self.id, **to_param_dict( self.start_playing, @@ -421,10 +423,11 @@ def speak(self, loop=None, mix=None, callback_url=None, - callback_method=None + callback_method=None, + type=None, ): return self.start_speaking(call_uuid, text, voice, language, legs, - loop, mix, callback_url, callback_method) + loop, mix, callback_url, callback_method, type) @validate_args(call_uuid=[of_type(six.text_type)]) def start_speaking(self, @@ -436,7 +439,8 @@ def start_speaking(self, loop=None, mix=None, callback_url=None, - callback_method=None + callback_method=None, + type=None ): return self.client.request('POST', ('Call', call_uuid, 'Speak'), to_param_dict(self.start_speaking, diff --git a/plivo/version.py b/plivo/version.py index cc87a7dc..6e83b2ca 100644 --- a/plivo/version.py +++ b/plivo/version.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = '4.47.0' +__version__ = '4.47.1'