Package discord4j.core.object
Class Embed.Author
- java.lang.Object
-
- discord4j.core.object.Embed.Author
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_NAME_LENGTH
The maximum amount of characters that can be in an author's name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Embed
getEmbed()
Gets theEmbed
associated to this object.String
getIconUrl()
Gets the URL of the author icon (only supports http(s) and attachments).String
getName()
Gets the name of the author.String
getProxyIconUrl()
Gets a proxied URL of the author icon.String
getUrl()
Gets the URL of the author.
-
-
-
Field Detail
-
MAX_NAME_LENGTH
public static final int MAX_NAME_LENGTH
The maximum amount of characters that can be in an author's name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEmbed
public Embed getEmbed()
Gets theEmbed
associated to this object.- Returns:
- The
Embed
associated to this object.
-
getName
public String getName()
Gets the name of the author.- Returns:
- The name of the author.
-
getUrl
public String getUrl()
Gets the URL of the author.- Returns:
- The URL of the author.
-
getIconUrl
public String getIconUrl()
Gets the URL of the author icon (only supports http(s) and attachments).- Returns:
- The URL of the author icon (only supports http(s) and attachments).
-
getProxyIconUrl
public String getProxyIconUrl()
Gets a proxied URL of the author icon.- Returns:
- A proxied URL of the author icon.
-
-