StaticGramBot API

UniqueGiftModel

This object describes the model of a unique gift.

Поля

nameString
Name of the model
The sticker that represents the unique gift
The number of unique gifts that receive this model for every 1000 gift upgrades. Always 0 for crafted gifts.
rarityStringoptional
Rarity of the model if it is a crafted model. Currently, can be “uncommon”, “rare”, “epic”, or “legendary”.

Минимальный JSON

JSON
{
  "name": "...",
  "sticker": {
    "file_id": "...",
    "file_unique_id": "...",
    "type": "private",
    "width": 1,
    "height": 1,
    "is_animated": true,
    "is_video": true
  },
  "rarity_per_mille": 1
}

Где используется

Типы

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top