UniqueGiftModel¶
- class aiogram.types.unique_gift_model.UniqueGiftModel(*, name: str, sticker: Sticker, rarity_per_mille: int, rarity: str | None = None, **extra_data: Any)[source]¶
This object describes the model of a unique gift.
Source: https://core.telegram.org/bots/api#uniquegiftmodel
- name: str¶
Name of the model
- rarity_per_mille: int¶
The number of unique gifts that receive this model for every 1000 gift upgrades. Always 0 for crafted gifts.
- rarity: str | None¶
Optional. Rarity of the model if it is a crafted model. Currently, can be ‘uncommon’, ‘rare’, ‘epic’, or ‘legendary’.