getEmojiWithHttpInfo method

Future<Response> getEmojiWithHttpInfo(
  1. String emojiId
)

Get a custom emoji

Get some metadata for a custom emoji. ##### Permissions Must be authenticated.

Note: This method returns the HTTP Response.

Parameters:

  • String emojiId (required): Emoji GUID

Implementation

Future<Response> getEmojiWithHttpInfo(
  String emojiId,
) async {
  // ignore: prefer_const_declarations
  final path = r'/emoji/{emoji_id}'.replaceAll('{emoji_id}', emojiId);

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