updateCallMembersWithHttpInfo method
Future<Response>
updateCallMembersWithHttpInfo(
- String type,
- String id,
- UpdateCallMembersRequest updateCallMembersRequest
Update Call Member
Sends events: - call.member_added - call.member_removed - call.member_updated Required permissions: - RemoveCallMember - UpdateCallMember - UpdateCallMemberRole
Note: This method returns the HTTP Response
.
Parameters:
-
String type (required):
-
String id (required):
-
UpdateCallMembersRequest updateCallMembersRequest (required):
Implementation
Future<Response> updateCallMembersWithHttpInfo(
String type,
String id,
UpdateCallMembersRequest updateCallMembersRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/video/call/{type}/{id}/members'
.replaceAll('{type}', type)
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = updateCallMembersRequest;
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,
);
}