public static class TdApi.StickerSet extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Emojis[] |
emojis
A list of emoji corresponding to the stickers in the same order.
|
long |
id
Identifier of the sticker set.
|
boolean |
isAnimated
True, is the stickers in the set are animated.
|
boolean |
isArchived
True, if the sticker set has been archived.
|
boolean |
isInstalled
True, if the sticker set has been installed by the current user.
|
boolean |
isMasks
True, if the stickers in the set are masks.
|
boolean |
isOfficial
True, if the sticker set is official.
|
boolean |
isViewed
True for already viewed trending sticker sets.
|
java.lang.String |
name
Name of the sticker set.
|
TdApi.Sticker[] |
stickers
List of stickers in this set.
|
TdApi.Thumbnail |
thumbnail
Sticker set thumbnail in WEBP or TGS format with width and height 100; may be null.
|
TdApi.ClosedVectorPath[] |
thumbnailOutline
Sticker set thumbnail's outline represented as a list of closed vector paths; may be empty.
|
java.lang.String |
title
Title of the sticker set.
|
Constructor and Description |
---|
StickerSet()
Represents a sticker set.
|
StickerSet(long id,
java.lang.String title,
java.lang.String name,
TdApi.Thumbnail thumbnail,
TdApi.ClosedVectorPath[] thumbnailOutline,
boolean isInstalled,
boolean isArchived,
boolean isOfficial,
boolean isAnimated,
boolean isMasks,
boolean isViewed,
TdApi.Sticker[] stickers,
TdApi.Emojis[] emojis)
Represents a sticker set.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long id
public java.lang.String title
public java.lang.String name
@Nullable public TdApi.Thumbnail thumbnail
public TdApi.ClosedVectorPath[] thumbnailOutline
public boolean isInstalled
public boolean isArchived
public boolean isOfficial
public boolean isAnimated
public boolean isMasks
public boolean isViewed
public TdApi.Sticker[] stickers
public TdApi.Emojis[] emojis
public static final int CONSTRUCTOR
public StickerSet()
public StickerSet(long id, java.lang.String title, java.lang.String name, TdApi.Thumbnail thumbnail, TdApi.ClosedVectorPath[] thumbnailOutline, boolean isInstalled, boolean isArchived, boolean isOfficial, boolean isAnimated, boolean isMasks, boolean isViewed, TdApi.Sticker[] stickers, TdApi.Emojis[] emojis)
id
- Identifier of the sticker set.title
- Title of the sticker set.name
- Name of the sticker set.thumbnail
- Sticker set thumbnail in WEBP or TGS format with width and height 100; may be null. The file can be downloaded only before the thumbnail is changed.thumbnailOutline
- Sticker set thumbnail's outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner.isInstalled
- True, if the sticker set has been installed by the current user.isArchived
- True, if the sticker set has been archived. A sticker set can't be installed and archived simultaneously.isOfficial
- True, if the sticker set is official.isAnimated
- True, is the stickers in the set are animated.isMasks
- True, if the stickers in the set are masks.isViewed
- True for already viewed trending sticker sets.stickers
- List of stickers in this set.emojis
- A list of emoji corresponding to the stickers in the same order. The list is only for informational purposes, because a sticker is always sent with a fixed emoji from the corresponding Sticker object.public int getConstructor()
getConstructor
in class TdApi.Object