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.
|
int |
height
Sticker height; as defined by the sender.
|
boolean |
isAnimated
True, if the sticker is an animated sticker in TGS format.
|
boolean |
isMask
True, if the sticker is a mask.
|
TdApi.MaskPosition |
maskPosition
Position where the mask is placed; may be null.
|
TdApi.ClosedVectorPath[] |
outline
Sticker's outline represented as a list of closed vector paths; may be empty.
|
long |
setId
The 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 setId,
int width,
int height,
java.lang.String emoji,
boolean isAnimated,
boolean isMask,
TdApi.MaskPosition maskPosition,
TdApi.ClosedVectorPath[] outline,
TdApi.Thumbnail thumbnail,
TdApi.File sticker)
Describes a sticker.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long setId
public int width
public int height
public java.lang.String emoji
public boolean isAnimated
public boolean isMask
@Nullable public TdApi.MaskPosition maskPosition
public TdApi.ClosedVectorPath[] outline
@Nullable public TdApi.Thumbnail thumbnail
public TdApi.File sticker
public static final int CONSTRUCTOR
public Sticker()
public Sticker(long setId, int width, int height, java.lang.String emoji, boolean isAnimated, boolean isMask, TdApi.MaskPosition maskPosition, TdApi.ClosedVectorPath[] outline, TdApi.Thumbnail thumbnail, TdApi.File sticker)
setId
- The 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.isAnimated
- True, if the sticker is an animated sticker in TGS format.isMask
- True, if the sticker is a mask.maskPosition
- Position where the mask is placed; may be null.outline
- Sticker's outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner.thumbnail
- Sticker thumbnail in WEBP or JPEG format; may be null.sticker
- File containing the sticker.public int getConstructor()
getConstructor
in class TdApi.Object