Sticker

Raw MD
This object represents a sticker

This object represents a sticker.

Fields

FieldTypeRequiredDescription
file_idStringAlwaysIdentifier for this file, which can be used to download or reuse the file
file_unique_idStringAlwaysUnique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
typeStringAlwaysType of the sticker, currently one of "regular", "mask", "custom_emoji". The type of the sticker is independent from its format, which is determined by the fields is_animated and is_video.
widthIntegerAlwaysSticker width
heightIntegerAlwaysSticker height
is_animatedBooleanAlwaysTrue, if the sticker is animated
is_videoBooleanAlwaysTrue, if the sticker is a video sticker
thumbnailPhotoSizeOptionalSticker thumbnail in the .WEBP or .JPG format
emojiStringOptionalEmoji associated with the sticker
set_nameStringOptionalName of the sticker set to which the sticker belongs
premium_animationFileOptionalFor premium regular stickers, premium animation for the sticker
mask_positionMaskPositionOptionalFor mask stickers, the position where the mask should be placed
custom_emoji_idStringOptionalFor custom emoji stickers, unique identifier of the custom emoji
needs_repaintingTrueOptionalTrue, if the sticker must be repainted to a text color in messages, the color of the Telegram Premium badge in emoji status, white color on chat photos, or another appropriate color in other places
file_sizeIntegerOptionalFile size in bytes
Botlify Cloud Runtime
Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.