Class Embed.Provider

  • Enclosing class:
    Embed

    public final class Embed.Provider
    extends Object
    A provider for a Discord embed.
    • Method Detail

      • getEmbed

        public Embed getEmbed()
        Gets the Embed associated to this object.
        Returns:
        The Embed associated to this object.
      • getData

        public discord4j.discordjson.json.EmbedProviderData getData()
        Gets the data of the provider.
        Returns:
        The data of the provider.
      • getName

        public Optional<String> getName()
        Gets the name of the provider.
        Returns:
        The name of the provider.
      • getUrl

        public Optional<String> getUrl()
        Gets the URL of the provider.
        Returns:
        The URL of the provider.