Package discord4j.core.object
Class Embed.Footer
java.lang.Object
discord4j.core.object.Embed.Footer
- Enclosing class:
- Embed
A footer for a Discord
embed
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The maximum amount of characters that can be in a footer text. -
Method Summary
Modifier and TypeMethodDescriptiondiscord4j.discordjson.json.EmbedFooterData
getData()
Gets the data of the footer.getEmbed()
Gets theEmbed
associated to this object.The URL of the footer icon (only supports http(s) and attachments).Gets a proxied URL of the footer icon.getText()
Gets the footer text.
-
Field Details
-
MAX_TEXT_LENGTH
public static final int MAX_TEXT_LENGTHThe maximum amount of characters that can be in a footer text.- See Also:
-
-
Method Details
-
getEmbed
Gets theEmbed
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
Gets the footer text.- Returns:
- The footer text.
-
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
Gets a proxied URL of the footer icon.- Returns:
- A proxied URL of the footer icon.
-