code: public CustomEmoji getKnownCustomEmojiOrCreateCustomEmoji(long id, String name, boolean animated) {
          CustomEmoji emoji = customEmojis.get(id);
          return emoji == null ? new CustomEmojiImpl(this, id, name, animated) : emoji;
      }
docs: Gets a known custom emoji or creates a new (unknown) custom emoji object.
  
  @param id The id of the emoji.
  @param name The name of the emoji.
  @param animated Whether the emoji is animated or not.
  @return The emoji for the given json object.