Package org.drinkless.tdlib
Class TdApi.StickerSetInfo
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.StickerSetInfo
-
- Enclosing class:
- TdApi
public static class TdApi.StickerSetInfo extends TdApi.Object
Represents short information about a sticker set.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.Sticker[]coversUp to the first 5 stickers from the set, depending on the context.longidIdentifier of the sticker set.booleanisAnimatedTrue, is the stickers in the set are animated.booleanisArchivedTrue, if the sticker set has been archived.booleanisInstalledTrue, if the sticker set has been installed by the current user.booleanisMasksTrue, if the stickers in the set are masks.booleanisOfficialTrue, if the sticker set is official.booleanisViewedTrue for already viewed trending sticker sets.StringnameName of the sticker set.intsizeTotal number of stickers in the set.TdApi.ThumbnailthumbnailSticker set thumbnail in WEBP or TGS format with width and height 100; may be null.TdApi.ClosedVectorPath[]thumbnailOutlineSticker set thumbnail's outline represented as a list of closed vector paths; may be empty.StringtitleTitle of the sticker set.
-
Constructor Summary
Constructors Constructor Description StickerSetInfo()Represents short information about a sticker set.StickerSetInfo(long id, String title, String name, TdApi.Thumbnail thumbnail, TdApi.ClosedVectorPath[] thumbnailOutline, boolean isInstalled, boolean isArchived, boolean isOfficial, boolean isAnimated, boolean isMasks, boolean isViewed, int size, TdApi.Sticker[] covers)Represents short information about a sticker set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
id
public long id
Identifier of the sticker set.
-
title
public String title
Title of the sticker set.
-
name
public String name
Name of the sticker set.
-
thumbnail
public TdApi.Thumbnail thumbnail
Sticker set thumbnail in WEBP or TGS format with width and height 100; may be null.
-
thumbnailOutline
public TdApi.ClosedVectorPath[] 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
public boolean isInstalled
True, if the sticker set has been installed by the current user.
-
isArchived
public boolean isArchived
True, if the sticker set has been archived. A sticker set can't be installed and archived simultaneously.
-
isOfficial
public boolean isOfficial
True, if the sticker set is official.
-
isAnimated
public boolean isAnimated
True, is the stickers in the set are animated.
-
isMasks
public boolean isMasks
True, if the stickers in the set are masks.
-
isViewed
public boolean isViewed
True for already viewed trending sticker sets.
-
size
public int size
Total number of stickers in the set.
-
covers
public TdApi.Sticker[] covers
Up to the first 5 stickers from the set, depending on the context. If the application needs more stickers the full sticker set needs to be requested.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StickerSetInfo
public StickerSetInfo()
Represents short information about a sticker set.
-
StickerSetInfo
public StickerSetInfo(long id, String title, String name, TdApi.Thumbnail thumbnail, TdApi.ClosedVectorPath[] thumbnailOutline, boolean isInstalled, boolean isArchived, boolean isOfficial, boolean isAnimated, boolean isMasks, boolean isViewed, int size, TdApi.Sticker[] covers)Represents short information about a sticker set.- Parameters:
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.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.size- Total number of stickers in the set.covers- Up to the first 5 stickers from the set, depending on the context. If the application needs more stickers the full sticker set needs to be requested.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-