Interface StickerPack
- All Superinterfaces:
ISnowflake
A pack of
StandardStickers used for nitro.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault ImageProxyTheImageProxyfor the pack banner.default StringThe id for the pack banner.longThe id for the pack banner.default StringThe url for the pack banner.default StringThe id of the sticker shown as cover.longThe id of the sticker shown as cover.default StandardStickerTheStandardStickershown as cover.The description of the sticker packgetName()The name of this pack.default StringgetSkuId()The stock-keeping unit (SKU) for this sticker pack.longThe stock-keeping unit (SKU) for this sticker pack.@Unmodifiable List<StandardSticker>TheStandardStickersin this pack.Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
-
Field Details
-
BANNER_URL
Format string used forgetBannerUrl().
The parameters of the format string are thegetBannerId()and the file extension (png).- See Also:
-
-
Method Details
-
getStickers
TheStandardStickersin this pack.- Returns:
- Immutable List of
StandardStickers
-
getName
The name of this pack.- Returns:
- Pack name
-
getDescription
The description of the sticker pack- Returns:
- The description
-
getCoverIdLong
long getCoverIdLong()The id of the sticker shown as cover.- Returns:
- The sticker id for the cover sticker, or
0if there is no cover
-
getCoverId
The id of the sticker shown as cover.- Returns:
- The sticker id for the cover sticker, or
nullif there is no cover
-
getCoverSticker
TheStandardStickershown as cover.- Returns:
- The cover sticker, or
nullif there is no cover
-
getBannerIdLong
long getBannerIdLong()The id for the pack banner.
This is shown when you at the top of the pack pop-out in the client.- Returns:
- The banner id, or
0if there is no banner
-
getBannerId
The id for the pack banner.
This is shown when you at the top of the pack pop-out in the client.- Returns:
- The banner id, or
nullif there is no banner
-
getBannerUrl
The url for the pack banner.
This is shown when you at the top of the pack pop-out in the client.- Returns:
- The banner id, or
nullif there is no banner
-
getBanner
TheImageProxyfor the pack banner.
This is shown when you at the top of the pack pop-out in the client.- Returns:
- The banner proxy, or
nullif there is no banner
-
getSkuIdLong
long getSkuIdLong()The stock-keeping unit (SKU) for this sticker pack.
This is used for store purchases, if there was a store to buy the pack from.- Returns:
- The SKU id for this pack, or
0if there is no SKU
-
getSkuId
The stock-keeping unit (SKU) for this sticker pack.
This is used for store purchases, if there was a store to buy the pack from.- Returns:
- The SKU id for this pack, or
nullif there is no SKU
-