Package net.dv8tion.jda.api.entities
Class MessageEmbed.Footer
- java.lang.Object
-
- net.dv8tion.jda.api.entities.MessageEmbed.Footer
-
- Enclosing class:
- MessageEmbed
public static class MessageEmbed.Footer extends java.lang.Object
Class that represents a footer at the bottom of an embed
-
-
Constructor Summary
Constructors Constructor Description Footer(java.lang.String text, java.lang.String iconUrl, java.lang.String proxyIconUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getIconUrl()
The url of the footer's icon.java.lang.String
getProxyIconUrl()
The url of the footer's icon, proxied by Discord
This url is used to access the image through Discord instead of directly to prevent ip scraping.java.lang.String
getText()
The text in the footer
-
-
-
Method Detail
-
getText
@Nullable public java.lang.String getText()
The text in the footer- Returns:
- Possibly-null String containing the text in the footer.
-
getIconUrl
@Nullable public java.lang.String getIconUrl()
The url of the footer's icon.- Returns:
- Possibly-null String containing the footer's icon url.
-
getProxyIconUrl
@Nullable public java.lang.String getProxyIconUrl()
The url of the footer's icon, proxied by Discord
This url is used to access the image through Discord instead of directly to prevent ip scraping.- Returns:
- Possibly-null String containing the proxied icon url.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-