Class Embed.Footer

  • Enclosing class:
    Embed

    public final class Embed.Footer
    extends Object
    A footer for a Discord embed.
    • Field Detail

      • MAX_TEXT_LENGTH

        public static final int MAX_TEXT_LENGTH
        The maximum amount of characters that can be in a footer text.
        See Also:
        Constant Field Values
    • Method Detail

      • getEmbed

        public Embed getEmbed()
        Gets the Embed associated to this object.
        Returns:
        The Embed associated to this object.
      • getData

        public discord4j.discordjson.json.EmbedFooterData getData()
        Gets the data of the footer.
        Returns:
        The data of the footer.
      • getText

        public String getText()
        Gets the footer text.
        Returns:
        The footer text.
      • getIconUrl

        public Optional<String> getIconUrl()
        The URL of the footer icon (only supports http(s) and attachments).
        Returns:
        The URL of the footer icon (only supports http(s) and attachments).
      • getProxyIconUrl

        public Optional<String> getProxyIconUrl()
        Gets a proxied URL of the footer icon.
        Returns:
        A proxied URL of the footer icon.