startTranscriptionWithHttpInfo method
Future<Response>
startTranscriptionWithHttpInfo(
- String type,
- String id,
- StartTranscriptionRequest startTranscriptionRequest
Start transcription
Starts transcription Required permissions: - StartTranscription
Note: This method returns the HTTP Response
.
Parameters:
-
String type (required):
-
String id (required):
-
StartTranscriptionRequest startTranscriptionRequest (required):
Implementation
Future<Response> startTranscriptionWithHttpInfo(
String type,
String id,
StartTranscriptionRequest startTranscriptionRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/video/call/{type}/{id}/start_transcription'
.replaceAll('{type}', type)
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = startTranscriptionRequest;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}