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 discord4j.discordjson.json.EmbedAuthorData
getData()
Gets the data of the author.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.
-
getData
public discord4j.discordjson.json.EmbedAuthorData getData()
Gets the data of the author.- Returns:
- The data of the author.
-
getName
@Nullable public String getName()
Gets the name of the author.- Returns:
- The name of the author.
-
getIconUrl
@Nullable 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).
-
-