java.lang.Object
io.github._4drian3d.jdwebhooks.WebHook.Builder
- Enclosing class:
WebHook
WebHook Builder
-
Method Summary
Modifier and TypeMethodDescriptionallowedMentions(@Nullable Boolean allowedMentions) Sets the Avatar URL of this WebHookbuild()Sets the content string of this embed.threadName(@Nullable String threadName) Sets the override username of this WebHook.
-
Method Details
-
content
Sets the content string of this embed.It can be an empty string and in case no content is provided, an empty string will be used
- Parameters:
content- the content string- Returns:
- this builder
-
username
Sets the override username of this WebHook.- Parameters:
username- the override username- Returns:
- this builder
-
avatarURL
Sets the Avatar URL of this WebHook- Parameters:
avatarURL- the Avatar URL- Returns:
- this builder
-
tts
-
embed
-
embeds
-
embeds
-
allowedMentions
-
threadName
-
build
-