peyk.platforms.telegram.types.unique_gift_symbol¶
Classes
|
This object describes the symbol shown on the pattern of a unique gift. |
- class peyk.platforms.telegram.types.unique_gift_symbol.UniqueGiftSymbol(name: str = '', rarity_per_milles: int = 0, star_count: int = 0)[source]¶
Bases:
objectThis object describes the symbol shown on the pattern of a unique gift.
- Variables:
name (str) – Name of the symbol
sticker – The sticker that represents the unique gift
rarity_per_mille – The number of unique gifts that receive this model for every 1000 gifts upgraded
- name: str = ''¶
- rarity_per_milles: int = 0¶
- star_count: int = 0¶
- classmethod from_dict(data: dict | None) UniqueGiftSymbol | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.