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 emojis corresponding to the stickers in the same order.
|
long |
id
Identifier of the sticker set.
|
boolean |
isAllowedAsChatEmojiStatus
True, if stickers in the sticker set are custom emoji that can be used as chat emoji status; for custom emoji sticker sets only.
|
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 |
isOfficial
True, if the sticker set is official.
|
boolean |
isOwned
True, if the sticker set is owned by the current user.
|
boolean |
isViewed
True for already viewed trending sticker sets.
|
java.lang.String |
name
Name of the sticker set.
|
boolean |
needsRepainting
True, if stickers in the sticker set are custom emoji that must be repainted; for custom emoji sticker sets only.
|
TdApi.Sticker[] |
stickers
List of stickers in this set.
|
TdApi.StickerType |
stickerType
Type of the stickers in the set.
|
TdApi.Thumbnail |
thumbnail
Sticker set thumbnail in WEBP, TGS, or WEBM format with width and height 100; may be null.
|
TdApi.Outline |
thumbnailOutline
Sticker set thumbnail's outline; may be null if unknown.
|
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.Outline thumbnailOutline,
boolean isOwned,
boolean isInstalled,
boolean isArchived,
boolean isOfficial,
TdApi.StickerType stickerType,
boolean needsRepainting,
boolean isAllowedAsChatEmojiStatus,
boolean isViewed,
TdApi.Sticker[] stickers,
TdApi.Emojis[] emojis)
Represents a sticker set.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long id
public java.lang.String title
public java.lang.String name
public TdApi.Thumbnail thumbnail
public TdApi.Outline thumbnailOutline
public boolean isOwned
public boolean isInstalled
public boolean isArchived
public boolean isOfficial
public TdApi.StickerType stickerType
public boolean needsRepainting
public boolean isAllowedAsChatEmojiStatus
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.Outline thumbnailOutline,
boolean isOwned,
boolean isInstalled,
boolean isArchived,
boolean isOfficial,
TdApi.StickerType stickerType,
boolean needsRepainting,
boolean isAllowedAsChatEmojiStatus,
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, TGS, or WEBM 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; may be null if unknown.isOwned - True, if the sticker set is owned by the current user.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.stickerType - Type of the stickers in the set.needsRepainting - True, if stickers in the sticker set are custom emoji that must be repainted; for custom emoji sticker sets only.isAllowedAsChatEmojiStatus - True, if stickers in the sticker set are custom emoji that can be used as chat emoji status; for custom emoji sticker sets only.isViewed - True for already viewed trending sticker sets.stickers - List of stickers in this set.emojis - A list of emojis 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()
TdApi.ObjectgetConstructor in class TdApi.Object