ringCallWithHttpInfo method
Ring Call Users
Sends a ring notification to the provided users who are not already in the call. All users should be members of the call Sends events: - call.ring
Note: This method returns the HTTP Response.
Parameters:
-
String type (required):
-
String id (required):
-
RingCallRequest ringCallRequest (required): RingCallRequest
Implementation
Future<Response> ringCallWithHttpInfo(
String type,
String id,
RingCallRequest ringCallRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/video/call/{type}/{id}/ring'
.replaceAll('{type}', type)
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = ringCallRequest;
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,
);
}