sendVideoReactionWithHttpInfo method
Future<Response>
sendVideoReactionWithHttpInfo(
- String type,
- String id,
- SendReactionRequest sendReactionRequest
Send reaction to the call
Sends reaction to the call Sends events: - call.reaction_new Required permissions: - CreateCallReaction
Note: This method returns the HTTP Response
.
Parameters:
-
String type (required):
-
String id (required):
-
SendReactionRequest sendReactionRequest (required):
Implementation
Future<Response> sendVideoReactionWithHttpInfo(
String type,
String id,
SendReactionRequest sendReactionRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/video/call/{type}/{id}/reaction'
.replaceAll('{type}', type)
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = sendReactionRequest;
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,
);
}