muteUsersWithHttpInfo method
Mute users
Mutes users in a call Required permissions: - MuteUsers
Note: This method returns the HTTP Response
.
Parameters:
-
String type (required):
-
String id (required):
-
MuteUsersRequest muteUsersRequest (required):
Implementation
Future<Response> muteUsersWithHttpInfo(
String type,
String id,
MuteUsersRequest muteUsersRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/video/call/{type}/{id}/mute_users'
.replaceAll('{type}', type)
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = muteUsersRequest;
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,
);
}