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.
  • Constructor Details

  • Method Details

    • 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.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object