Package org.javacord.api.entity.sticker
Interface StickerPack
-
- All Superinterfaces:
DiscordEntity,java.util.Formattable,Nameable
public interface StickerPack extends DiscordEntity, Nameable
This class represents a sticker pack.- See Also:
- Discord Docs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetBannerAssetId()Gets the ID of the sticker pack's banner image.java.util.Optional<java.lang.Long>getCoverStickerId()Gets the ID of the sticker that is shown as the pack's cover.java.lang.StringgetDescription()Gets the description of the sticker pack.longgetSkuId()Gets the SKU ID of the sticker pack.java.util.Set<Sticker>getStickers()Gets the stickers in this pack.-
Methods inherited from interface org.javacord.api.entity.DiscordEntity
getApi, getCreationTimestamp, getId, getIdAsString
-
-
-
-
Method Detail
-
getStickers
java.util.Set<Sticker> getStickers()
Gets the stickers in this pack.- Returns:
- The stickers in this pack.
-
getSkuId
long getSkuId()
Gets the SKU ID of the sticker pack.- Returns:
- The SKU ID of the sticker pack.
-
getCoverStickerId
java.util.Optional<java.lang.Long> getCoverStickerId()
Gets the ID of the sticker that is shown as the pack's cover.- Returns:
- The ID of the sticker that is shown as the pack's cover.
-
getDescription
java.lang.String getDescription()
Gets the description of the sticker pack.- Returns:
- The description of the sticker pack.
-
getBannerAssetId
long getBannerAssetId()
Gets the ID of the sticker pack's banner image.- Returns:
- The ID of the sticker pack's banner image.
-
-