getEmojiImage method

Future<void> getEmojiImage(
  1. String emojiId
)

Get custom emoji image

Get the image for a custom emoji. ##### Permissions Must be authenticated.

Parameters:

  • String emojiId (required): Emoji GUID

Implementation

Future<void> getEmojiImage(
  String emojiId,
) async {
  final response = await getEmojiImageWithHttpInfo(
    emojiId,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}