Class WebhookEmbed.EmbedTitle
- java.lang.Object
-
- club.minnced.discord.webhook.send.WebhookEmbed.EmbedTitle
-
- Enclosing class:
- WebhookEmbed
public static class WebhookEmbed.EmbedTitle extends Object
POJO for an embed title.
This is displayed above description and below the embed author.
-
-
Constructor Summary
Constructors Constructor Description EmbedTitle(@NotNull String text, @Nullable String url)Creates a new embed title
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull StringgetText()The visible text of this title@Nullable StringgetUrl()The hyperlink for this title.StringtoString()JSON representation of this title
-
-
-
Constructor Detail
-
EmbedTitle
public EmbedTitle(@NotNull @NotNull String text, @Nullable @Nullable String url)Creates a new embed title- Parameters:
text- The visible texturl- The (nullable) hyperlink- See Also:
WebhookEmbedBuilder.setTitle(club.minnced.discord.webhook.send.WebhookEmbed.EmbedTitle)
-
-