ringCallWithHttpInfo method

Future<Response> ringCallWithHttpInfo(
  1. String type,
  2. String id,
  3. RingCallRequest ringCallRequest
)

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:

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,
  );
}