searchEmojiWithHttpInfo method

Future<Response> searchEmojiWithHttpInfo(
  1. MmSearchEmojiRequest mmSearchEmojiRequest
)

Search custom emoji

Search for custom emoji by name based on search criteria provided in the request body. A maximum of 200 results are returned. ##### Permissions Must be authenticated. Minimum server version: 4.7

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> searchEmojiWithHttpInfo(
  MmSearchEmojiRequest mmSearchEmojiRequest,
) async {
  // ignore: prefer_const_declarations
  final path = r'/emoji/search';

  // ignore: prefer_final_locals
  Object? postBody = mmSearchEmojiRequest;

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