Class ReactionEmoji.Custom

    • Method Detail

      • getId

        public Snowflake getId()
        Gets the id of the emoji.
        Returns:
        The id of the emoji.
      • getName

        public String getName()
        Gets the name of the emoji.
        Returns:
        The name of the emoji.
      • isAnimated

        public boolean isAnimated()
        Gets whether this emoji is animated.
        Returns:
        Whether this emoji is animated.
      • asEmojiData

        public discord4j.discordjson.json.EmojiData asEmojiData()
        Description copied from class: ReactionEmoji
        Converts this ReactionEmoji to a EmojiData.
        Specified by:
        asEmojiData in class ReactionEmoji
        Returns:
        An EmojiData for this emoji.
      • asFormat

        public String asFormat()
        Gets the formatted version of this emoji (i.e., to display in the client).
        Returns:
        The formatted version of this emoji (i.e., to display in the client).
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object