Interface StickerBuilderDelegate
-
public interface StickerBuilderDelegateThis class is internally used by theStickerBuilder. You usually don't want to interact with this object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcopy(Sticker sticker)Copies the values of the sticker into the builder.java.util.concurrent.CompletableFuture<Sticker>create()Creates a newStickerobject with the given values.java.util.concurrent.CompletableFuture<Sticker>create(java.lang.String reason)Creates a newStickerobject with the given values.voidsetDescription(java.lang.String description)Sets the description of the sticker.voidsetFile(java.io.File file)Sets the file to upload as sticker.voidsetName(java.lang.String name)Sets the name of the sticker.voidsetTags(java.lang.String tags)Sets the tags of the sticker.
-
-
-
Method Detail
-
copy
void copy(Sticker sticker)
Copies the values of the sticker into the builder.- Parameters:
sticker- The sticker to copy.
-
setName
void setName(java.lang.String name)
Sets the name of the sticker.- Parameters:
name- The name of the sticker.
-
setDescription
void setDescription(java.lang.String description)
Sets the description of the sticker.- Parameters:
description- The description of the sticker.
-
setTags
void setTags(java.lang.String tags)
Sets the tags of the sticker.- Parameters:
tags- The tags of the sticker.
-
setFile
void setFile(java.io.File file)
Sets the file to upload as sticker.- Parameters:
file- The file to upload as sticker.
-
create
java.util.concurrent.CompletableFuture<Sticker> create()
Creates a newStickerobject with the given values.- Returns:
- A future of the created sticker object.
-
-