@classmethod
def from_hex(cls, value):
    """Get an :class:`EmojiCharacter` instance by Emoji Unicode integer value or it's hex string

        :param Union[int, str] value: Emoji Unicode, either integer value or hex string
        :return: Instance returned from the class's internal dictionary
        :rtype: EmojiCharacter
        :raises KeyError: When code not found in the class' internal dictionary
        """
    if isinstance(value, str):
        return cls[int(value, 16)]
    return cls[int(value)]
