public class EmojiPack extends Object
Modifier and Type | Method and Description |
---|---|
static Optional<EmojiPack> |
getByID(int id)
Gets any EmojiPack from the cache by its ID.
|
String |
getDescription()
Gets the description of the emoji pack.
|
URL |
getDownloadUrl()
Gets the download URL of the emoji pack.
|
int |
getId()
Gets the ID of the emoji pack.
|
URL |
getImageUrl()
Gets the URL of the icon image of the emoji pack.
|
String |
getName()
Gets the name of the emoji pack.
|
static EmojiPack |
getOrCreate(com.fasterxml.jackson.databind.JsonNode data)
Internal method.
|
int |
getSize()
Gets the amount of emojis in this emoji pack.
|
String |
getSlug()
Gets the URL-Slug of the emoji pack.
|
public int getId()
public String getName()
public String getDescription()
public String getSlug()
public URL getImageUrl()
public URL getDownloadUrl()
public int getSize()
public static Optional<EmojiPack> getByID(int id)
id
- The ID of the EmojiPack to get.public static EmojiPack getOrCreate(com.fasterxml.jackson.databind.JsonNode data)