Interface StickerUpdaterDelegate
-
public interface StickerUpdaterDelegateThis class is internally used by theStickerUpdater. You usually don't want to interact with this object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetDescription(java.lang.String description)Sets the new description of the sticker.voidsetName(java.lang.String name)Set the new name of the sticker.voidsetTags(java.lang.String tags)Sets the new tags of the sticker.java.util.concurrent.CompletableFuture<Sticker>update()Updates the sticker with the given values.java.util.concurrent.CompletableFuture<Sticker>update(java.lang.String reason)Updates the sticker with the given values.
-
-
-
Method Detail
-
setName
void setName(java.lang.String name)
Set the new name of the sticker.- Parameters:
name- The new name of the sticker.
-
setDescription
void setDescription(java.lang.String description)
Sets the new description of the sticker.- Parameters:
description- The new description of the sticker.
-
setTags
void setTags(java.lang.String tags)
Sets the new tags of the sticker.- Parameters:
tags- The new tags of the sticker.
-
update
java.util.concurrent.CompletableFuture<Sticker> update()
Updates the sticker with the given values.- Returns:
- A future of the updated sticker object.
-
update
java.util.concurrent.CompletableFuture<Sticker> update(java.lang.String reason)
Updates the sticker with the given values.- Parameters:
reason- The reason for the audit log.- Returns:
- A future of the updated sticker object.
-
-