public static class TdApi.Sticker extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
emoji
Emoji corresponding to the sticker.
|
TdApi.StickerFormat |
format
Sticker format.
|
TdApi.StickerFullType |
fullType
Sticker's full type.
|
int |
height
Sticker height; as defined by the sender.
|
long |
id
Unique sticker identifier within the set; 0 if none.
|
long |
setId
Identifier of the sticker set to which the sticker belongs; 0 if none.
|
TdApi.File |
sticker
File containing the sticker.
|
TdApi.Thumbnail |
thumbnail
Sticker thumbnail in WEBP or JPEG format; may be null.
|
int |
width
Sticker width; as defined by the sender.
|
| Constructor and Description |
|---|
Sticker()
Describes a sticker.
|
Sticker(long id,
long setId,
int width,
int height,
java.lang.String emoji,
TdApi.StickerFormat format,
TdApi.StickerFullType fullType,
TdApi.Thumbnail thumbnail,
TdApi.File sticker)
Describes a sticker.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long id
public long setId
public int width
public int height
public java.lang.String emoji
public TdApi.StickerFormat format
public TdApi.StickerFullType fullType
public TdApi.Thumbnail thumbnail
public TdApi.File sticker
public static final int CONSTRUCTOR
public Sticker()
public Sticker(long id,
long setId,
int width,
int height,
java.lang.String emoji,
TdApi.StickerFormat format,
TdApi.StickerFullType fullType,
TdApi.Thumbnail thumbnail,
TdApi.File sticker)
id - Unique sticker identifier within the set; 0 if none.setId - Identifier of the sticker set to which the sticker belongs; 0 if none.width - Sticker width; as defined by the sender.height - Sticker height; as defined by the sender.emoji - Emoji corresponding to the sticker.format - Sticker format.fullType - Sticker's full type.thumbnail - Sticker thumbnail in WEBP or JPEG format; may be null.sticker - File containing the sticker.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object