# Sticker

> This object represents a sticker

**Category:** Telegram Bot API — Types (A-Z)  
**URL:** https://docs.botlify.cloud/sticker  
**Platform:** Botlify Cloud (https://botlify.cloud)  

---

This object represents a sticker.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| file_id | String | Always | Identifier for this file, which can be used to download or reuse the file |
| file_unique_id | String | Always | Unique 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. |
| type | String | Always | Type 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. |
| width | Integer | Always | Sticker width |
| height | Integer | Always | Sticker height |
| is_animated | Boolean | Always | True, if the sticker is animated |
| is_video | Boolean | Always | True, if the sticker is a video sticker |
| thumbnail | PhotoSize | Optional | Sticker thumbnail in the .WEBP or .JPG format |
| emoji | String | Optional | Emoji associated with the sticker |
| set_name | String | Optional | Name of the sticker set to which the sticker belongs |
| premium_animation | File | Optional | For premium regular stickers, premium animation for the sticker |
| mask_position | MaskPosition | Optional | For mask stickers, the position where the mask should be placed |
| custom_emoji_id | String | Optional | For custom emoji stickers, unique identifier of the custom emoji |
| needs_repainting | True | Optional | True, 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_size | Integer | Optional | File size in bytes |

> [!TIP]
> **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.
