getEmojiByNameWithHttpInfo method
Get a custom emoji by name
Get some metadata for a custom emoji using its name. ##### Permissions Must be authenticated. Minimum server version: 4.7
Note: This method returns the HTTP Response
.
Parameters:
- String emojiName (required): Emoji name
Implementation
Future<Response> getEmojiByNameWithHttpInfo(
String emojiName,
) async {
// ignore: prefer_const_declarations
final path = r'/emoji/name/{emoji_name}'.replaceAll('{emoji_name}', emojiName);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}