Interface StickerUpdaterDelegate


  • public interface StickerUpdaterDelegate
    This class is internally used by the StickerUpdater. You usually don't want to interact with this object.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setDescription​(java.lang.String description)
      Sets the new description of the sticker.
      void setName​(java.lang.String name)
      Set the new name of the sticker.
      void setTags​(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.