Package net.dv8tion.jda.api.entities
Class MessageEmbed.Provider
- java.lang.Object
-
- net.dv8tion.jda.api.entities.MessageEmbed.Provider
-
- Enclosing class:
- MessageEmbed
public static class MessageEmbed.Provider extends Object
Multipurpose class that represents a provider of content, whether directly through creation or indirectly through hosting.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getName()
The name of the provider.String
getUrl()
The url of the provider.
-
-
-
Method Detail
-
getName
@Nullable public String getName()
The name of the provider.
If this is an author, most likely the author's username.
If this is a website, most likely the site's name.- Returns:
- Possibly-null String containing the name of the provider.
-
getUrl
@Nullable public String getUrl()
The url of the provider.- Returns:
- Possibly-null String containing the url of the provider.
-
-