Package it.tdlight.jni
Class TdApi.StickerSet
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.StickerSet
- Enclosing class:
- TdApi
public static class TdApi.StickerSet extends TdApi.Object
Represents a sticker set.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
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.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.String
title
Title of the sticker set. -
Constructor Summary
Constructors Constructor Description StickerSet()
Represents a sticker set.StickerSet(long id, String title, 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.StickerSet(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public long idIdentifier 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
public boolean isInstalledTrue, if the sticker set has been installed by the current user. -
isArchived
public boolean isArchivedTrue, if the sticker set has been archived. A sticker set can't be installed and archived simultaneously. -
isOfficial
public boolean isOfficialTrue, if the sticker set is official. -
isAnimated
public boolean isAnimatedTrue, is the stickers in the set are animated. -
isMasks
public boolean isMasksTrue, if the stickers in the set are masks. -
isViewed
public boolean isViewedTrue 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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
StickerSet
public StickerSet()Represents a sticker set. -
StickerSet
public StickerSet(long id, String title, 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.- Parameters:
id
- long Identifier of the sticker set.title
- String Title of the sticker set.name
- String Name of the sticker set.thumbnail
- 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
- ClosedVectorPath[] 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
- boolean True, if the sticker set has been installed by the current user.isArchived
- boolean True, if the sticker set has been archived. A sticker set can't be installed and archived simultaneously.isOfficial
- boolean True, if the sticker set is official.isAnimated
- boolean True, is the stickers in the set are animated.isMasks
- boolean True, if the stickers in the set are masks.isViewed
- boolean True for already viewed trending sticker sets.stickers
- Sticker[] List of stickers in this set.emojis
- 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.
-
StickerSet
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-