Class StickerItemImpl
java.lang.Object
net.dv8tion.jda.internal.entities.sticker.StickerItemImpl
- All Implemented Interfaces:
ISnowflake
,Sticker
,StickerItem
,StickerSnowflake
- Direct Known Subclasses:
RichStickerImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.dv8tion.jda.api.entities.sticker.Sticker
Sticker.StickerFormat, Sticker.Type
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
The format type of this sticker, used forSticker.getIconUrl()
.long
The Snowflake id of this entity.getName()
The name of the sticker.int
hashCode()
toString()
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getTimeCreated
Methods inherited from interface net.dv8tion.jda.api.entities.sticker.Sticker
getIcon, getIconUrl
-
Constructor Details
-
StickerItemImpl
-
-
Method Details
-
getIdLong
public long getIdLong()Description copied from interface:ISnowflake
The Snowflake id of this entity. This is unique to every entity and will never change.- Specified by:
getIdLong
in interfaceISnowflake
- Returns:
- Long containing the Id.
-
getFormatType
Description copied from interface:Sticker
The format type of this sticker, used forSticker.getIconUrl()
.
Note that stickers can be of typeLOTTIE
, which don't have simple image icons, but instead rely on client-side rendering.Future stickers might have format
UNKNOWN
, which cannot be converted to a URL.- Specified by:
getFormatType
in interfaceSticker
- Returns:
- The
Sticker.StickerFormat
of this sticker
-
getName
Description copied from interface:Sticker
The name of the sticker. -
setName
-
toString
-
hashCode
public int hashCode() -
equals
-