getEmojiCategory method

Future<EmojiCategory> getEmojiCategory(
  1. int categoryId
)

Return an EmojiCategory with given categoryId

Implementation

Future<EmojiCategory> getEmojiCategory(int categoryId) {
  if (categoryId <= 0) throw InvalidParameterError();
  return _int.api.send<EmojiCategory>(EmojiCategoryGetRequest(categoryId));
}