public static class WebhookEmbed.EmbedFooter
extends java.lang.Object
implements org.json.JSONString
| Constructor and Description |
|---|
EmbedFooter(@NotNull java.lang.String text,
@Nullable java.lang.String icon)
Creates a new embed footer
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable java.lang.String |
getIconUrl()
The url for the icon of this footer
|
@NotNull java.lang.String |
getText()
The visible text of the footer.
|
java.lang.String |
toJSONString() |
java.lang.String |
toString()
JSON representation of this footer
|
public EmbedFooter(@NotNull
@NotNull java.lang.String text,
@Nullable
@Nullable java.lang.String icon)
text - The visible text of the footericon - The (nullable) icon url of the footerWebhookEmbedBuilder.setFooter(club.minnced.discord.webhook.send.WebhookEmbed.EmbedFooter)@NotNull public @NotNull java.lang.String getText()
@Nullable @JSONPropertyName(value="icon_url") public @Nullable java.lang.String getIconUrl()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toJSONString()
toJSONString in interface org.json.JSONString