Package discord4j.core.object
Class Embed.Footer
- java.lang.Object
-
- discord4j.core.object.Embed.Footer
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_TEXT_LENGTH
The 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.EmbedFooterData
getData()
Gets the data of the footer.Embed
getEmbed()
Gets theEmbed
associated 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.String
getText()
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 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
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).
-
-