You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param str terminating_digits: Digits to terminate the recording
34
34
:param int max_duration: Max duration to record in seconds
35
35
:param str file_format: The file format to save the recording in
36
+
:param bool detect_language: Indicates that the recording may not be in English, and the transcription service will need to detect the dominant language the recording is in and transcribe accordingly. Current supported languages are English, French, and Spanish.
36
37
:param bool transcribe: True to transcribe the recording on completion, False otherwise
37
38
:param str transcription_available_url: URL to send the transcriptionAvailable event to.
38
39
:param str transcription_available_method: The HTTP method to use for the request to transcriptionAvailableUrl. GET or POST
:param str recording_available_method: HTTP method for record available callback
28
28
:param str file_format: The file format to save the recording in
29
29
:param bool multi_channel: Whether or not to record the channels separately (default is false, 1 recording)
30
+
:param bool detect_language: Indicates that the recording may not be in English, and the transcription service will need to detect the dominant language the recording is in and transcribe accordingly. Current supported languages are English, French, and Spanish.
30
31
:param bool transcribe: True to transcribe the recording on completion, False otherwise
31
32
:param str transcription_available_url: URL to send the transcriptionAvailable event to.
32
33
:param str transcription_available_method: The HTTP method to use for the request to transcriptionAvailableUrl. GET or POST
Copy file name to clipboardExpand all lines: bandwidth/voice/models/transcribe_recording_request.py
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,12 @@
9
9
10
10
11
11
classTranscribeRecordingRequest(object):
12
-
13
12
"""Implementation of the 'TranscribeRecordingRequest' model.
14
13
15
14
TODO: type model description here.
16
15
17
16
Attributes:
17
+
detect_language (bool): Indicates that the recording may not be in English, and the transcription service will need to detect the dominant language the recording is in and transcribe accordingly. Current supported languages are English, French, and Spanish.
18
18
callback_url (string): TODO: type description here.
19
19
callback_method (CallbackMethodEnum): TODO: type description here.
20
20
username (string): TODO: type description here.
@@ -26,6 +26,7 @@ class TranscribeRecordingRequest(object):
26
26
27
27
# Create a mapping from Model property names to API property names
28
28
_names= {
29
+
"detect_language": "detectLanguage",
29
30
"callback_url": 'callbackUrl',
30
31
"callback_method": 'callbackMethod',
31
32
"username": 'username',
@@ -35,6 +36,7 @@ class TranscribeRecordingRequest(object):
35
36
}
36
37
37
38
def__init__(self,
39
+
detect_language=None,
38
40
callback_url=None,
39
41
callback_method=None,
40
42
username=None,
@@ -44,6 +46,7 @@ def __init__(self,
44
46
"""Constructor for the TranscribeRecordingRequest class"""
0 commit comments