public static class WebhookEmbed.EmbedTitle
extends java.lang.Object
| Constructor and Description |
|---|
EmbedTitle(@NotNull java.lang.String text,
@Nullable java.lang.String url)
Creates a new embed title
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.lang.String |
getText()
The visible text of this title
|
@Nullable java.lang.String |
getUrl()
The hyperlink for this title.
|
java.lang.String |
toString()
JSON representation of this title
|
public EmbedTitle(@NotNull
@NotNull java.lang.String text,
@Nullable
@Nullable java.lang.String url)
text - The visible texturl - The (nullable) hyperlinkWebhookEmbedBuilder.setTitle(club.minnced.discord.webhook.send.WebhookEmbed.EmbedTitle)@NotNull public @NotNull java.lang.String getText()
@Nullable public @Nullable java.lang.String getUrl()
public java.lang.String toString()
toString in class java.lang.Object