getBulkReactionsWithHttpInfo method
Bulk get the reaction for posts
Get a list of reactions made by all users to a given post. ##### Permissions Must have read_channel
permission for the channel the post is in. Minimum server version: 5.8
Note: This method returns the HTTP Response
.
Parameters:
- List<String> requestBody (required): Array of post IDs
Implementation
Future<Response> getBulkReactionsWithHttpInfo(
List<String> requestBody,
) async {
// ignore: prefer_const_declarations
final path = r'/posts/ids/reactions';
// ignore: prefer_final_locals
Object? postBody = requestBody;
final queryParams = <MmQueryParam>[];
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,
);
}