Sticker
Describes a sticker.
This is an alias for the StickerUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "sticker" | |
setId | string | The identifier of the sticker set to which the sticker belongs; 0 if none |
width | number | Sticker width; as defined by the sender |
height | number | Sticker height; as defined by the sender |
emoji | string | Emoji corresponding to the sticker |
isAnimated | boolean | True, if the sticker is an animated sticker in TGS format |
isMask | boolean | 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 |