java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.StickerSetInfo
- Enclosing class:
- TdApi
Represents short information about a sticker set.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Up to the first 5 stickers from the set, depending on the context.long
Identifier of the sticker set.boolean
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
True, if the sticker set has been archived.boolean
True, if the sticker set has been installed by the current user.boolean
True, if the sticker set is official.boolean
True for already viewed trending sticker sets.Name of the sticker set.boolean
True, if stickers in the sticker set are custom emoji that must be repainted; for custom emoji sticker sets only.int
Total number of stickers in the set.Format of the stickers in the set.Type of the stickers in the set.Sticker set thumbnail in WEBP, TGS, or WEBM format with width and height 100; may be null.Sticker set thumbnail's outline represented as a list of closed vector paths; may be empty.Title of the sticker set. -
Constructor Summary
ConstructorDescriptionRepresents 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, TdApi.StickerFormat stickerFormat, TdApi.StickerType stickerType, boolean needsRepainting, boolean isAllowedAsChatEmojiStatus, boolean isViewed, int size, TdApi.Sticker[] covers) Represents short information about a sticker set.StickerSetInfo
(DataInput input) Represents short information about a sticker set. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods 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, 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 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. -
stickerFormat
Format of the stickers in the set. -
stickerType
Type of the stickers in the set. -
needsRepainting
public boolean needsRepaintingTrue, if stickers in the sticker set are custom emoji that must be repainted; for custom emoji sticker sets only. -
isAllowedAsChatEmojiStatus
public boolean isAllowedAsChatEmojiStatusTrue, if stickers in the sticker set are custom emoji that can be used as chat emoji status; for custom emoji sticker sets only. -
isViewed
public boolean isViewedTrue for already viewed trending sticker sets. -
size
public int sizeTotal 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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, TdApi.StickerFormat stickerFormat, TdApi.StickerType stickerType, boolean needsRepainting, boolean isAllowedAsChatEmojiStatus, 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, 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 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.stickerFormat
- Format of the stickers in the set.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.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.
-
StickerSetInfo
Represents short information about a sticker set.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-