Package net.dv8tion.jda.api.entities
Class MessageEmbed.AuthorInfo
java.lang.Object
net.dv8tion.jda.api.entities.MessageEmbed.AuthorInfo
- Enclosing class:
MessageEmbed
Class that represents the author of content, possibly including an icon
that Discord proxies.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The url of the author's icon.getName()
The name of the Author.Returns anImageProxy
for this proxied author's icon.The url of the author's icon, proxied by Discord
This url is used to access the image through Discord instead of directly to prevent ip scraping.getUrl()
The url of the author.
-
Constructor Details
-
AuthorInfo
-
-
Method Details
-
getName
The name of the Author.
This is most likely the name of the account associated with the embed- Returns:
- Possibly-null String containing the name of the author.
-
getUrl
The url of the author.- Returns:
- Possibly-null String containing the url of the author.
-
getIconUrl
The url of the author's icon.- Returns:
- Possibly-null String containing the author's icon url.
-
getProxyIconUrl
The url of the author'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.
-
getProxyIcon
Returns anImageProxy
for this proxied author's icon.- Returns:
- Possibly-null
ImageProxy
of this proxied author's icon - See Also:
-
equals
-