stopLiveWithHttpInfo method
Set call as not live
Sends events: - call.updated
Note: This method returns the HTTP Response
.
Parameters:
-
String type (required):
-
String id (required):
-
StopLiveRequest stopLiveRequest (required): StopLiveRequest
Implementation
Future<Response> stopLiveWithHttpInfo(
String type,
String id,
StopLiveRequest stopLiveRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/video/call/{type}/{id}/stop_live'
.replaceAll('{type}', type)
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = stopLiveRequest;
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,
);
}