Package discord4j.core.object
Class Embed.Footer
- java.lang.Object
-
- discord4j.core.object.Embed.Footer
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_TEXT_LENGTHThe maximum amount of characters that can be in a footer text.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description discord4j.discordjson.json.EmbedFooterDatagetData()Gets the data of the footer.EmbedgetEmbed()Gets theEmbedassociated to this object.Optional<String>getIconUrl()The URL of the footer icon (only supports http(s) and attachments).Optional<String>getProxyIconUrl()Gets a proxied URL of the footer icon.StringgetText()Gets the footer text.
-
-
-
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 theEmbedassociated to this object.- Returns:
- The
Embedassociated 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).
-
-