autocompleteEmojiWithHttpInfo method
Autocomplete custom emoji
Get a list of custom emoji with names starting with or matching the provided name. Returns a maximum of 100 results. ##### Permissions Must be authenticated. Minimum server version: 4.7
Note: This method returns the HTTP Response
.
Parameters:
- String name (required): The emoji name to search.
Implementation
Future<Response> autocompleteEmojiWithHttpInfo(
String name,
) async {
// ignore: prefer_const_declarations
final path = r'/emoji/autocomplete';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'name', name));
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}