This object describes the model of a unique gift.
More...
#include <Types.h>
|
| std::string | name { } |
| | Name of the model.
|
| std::shared_ptr< Sticker > | sticker { } |
| | The sticker that represents the unique gift.
|
| std::int32_t | rarityPerMille { } |
| | The number of unique gifts that receive this model for every 1000 gift upgrades. Always 0 for crafted gifts.
|
| std::optional< std::string > | rarity { } |
| | Optional. Rarity of the model if it is a crafted model. Currently, can be “uncommon”, “rare”, “epic”, or “legendary”.
|
This object describes the model of a unique gift.
Definition at line 14551 of file Types.h.
◆ Ptr
◆ name
| std::string TgBot::UniqueGiftModel::name { } |
Name of the model.
Definition at line 14557 of file Types.h.
◆ rarity
| std::optional<std::string> TgBot::UniqueGiftModel::rarity { } |
Optional. Rarity of the model if it is a crafted model. Currently, can be “uncommon”, “rare”, “epic”, or “legendary”.
Definition at line 14574 of file Types.h.
◆ rarityPerMille
| std::int32_t TgBot::UniqueGiftModel::rarityPerMille { } |
The number of unique gifts that receive this model for every 1000 gift upgrades. Always 0 for crafted gifts.
Definition at line 14568 of file Types.h.
◆ sticker
| std::shared_ptr<Sticker> TgBot::UniqueGiftModel::sticker { } |
The sticker that represents the unique gift.
Definition at line 14562 of file Types.h.
The documentation for this struct was generated from the following file: