Package discord4j.core.object
Class Embed.Author
- java.lang.Object
-
- discord4j.core.object.Embed.Author
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_NAME_LENGTHThe 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.EmbedAuthorDatagetData()Gets the data of the author.EmbedgetEmbed()Gets theEmbedassociated to this object.Optional<String>getIconUrl()Gets the URL of the author icon (only supports http(s) and attachments).Optional<String>getName()Gets the name of the author.Optional<String>getProxyIconUrl()Gets a proxied URL of the author icon.Optional<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 theEmbedassociated to this object.- Returns:
- The
Embedassociated to this object.
-
getData
public discord4j.discordjson.json.EmbedAuthorData getData()
Gets the data of the author.- Returns:
- The data of the author.
-
getName
public Optional<String> getName()
Gets the name of the author.- Returns:
- The name of the author.
-
getIconUrl
public Optional<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).
-
-