Sticker
A sticker.
Properties
fileId: string
A file identifier that can be used to download or reuse this file.
fileUniqueId: string
A file identifier that can be used to identify this file.
type: "regular" | "mask" | "customEmoji"
Type of the sticker, currently one of “regular”, “mask”, “customEmoji”. The type of the sticker is independent from its format, which is determined by the fields isAnimated and isVideo.
width: number
The width of the sticker.
height: number
The height of the sticker.
isAnimated: boolean
Whether the sticker is animated.
isVideo: boolean
Whether the sticker is a video.
Thumbnails of the sticker in the WebP or JPG.
emoji?: string
The emoji associated with the sticker.
setName?: string
Name of the sticker set where the sticker belongs.
For mask stickers, the position where the mask should be placed
customEmojiId?: string
For custom emoji stickers, unique identifier of the custom emoji
isRepaintingNeeded?: boolean
Whether the sticker needs repainting.
fileSize?: number
File size in bytes