Interface StickerPack
- All Superinterfaces:
ISnowflake
A pack of
StandardStickers
used for nitro.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault ImageProxy
TheImageProxy
for the pack banner.default String
The id for the pack banner.long
The id for the pack banner.default String
The url for the pack banner.default String
The id of the sticker shown as cover.long
The id of the sticker shown as cover.default StandardSticker
TheStandardSticker
shown as cover.The description of the sticker packgetName()
The name of this pack.default String
getSkuId()
The stock-keeping unit (SKU) for this sticker pack.long
The stock-keeping unit (SKU) for this sticker pack.@Unmodifiable List<StandardSticker>
TheStandardStickers
in 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
TheStandardStickers
in 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
0
if there is no cover
-
getCoverId
The id of the sticker shown as cover.- Returns:
- The sticker id for the cover sticker, or
null
if there is no cover
-
getCoverSticker
TheStandardSticker
shown as cover.- Returns:
- The cover sticker, or
null
if 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
0
if 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
null
if 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
null
if there is no banner
-
getBanner
TheImageProxy
for the pack banner.
This is shown when you at the top of the pack pop-out in the client.- Returns:
- The banner proxy, or
null
if 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
0
if 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
null
if there is no SKU
-