2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Show premium badge on gifts.

This commit is contained in:
John Preston
2025-07-15 18:18:58 +04:00
parent f655297052
commit be6dbefe7c
4 changed files with 26 additions and 1 deletions

View File

@@ -74,8 +74,11 @@ struct StarGift {
int resellCount = 0;
int limitedLeft = 0;
int limitedCount = 0;
int perUserTotal = 0;
int perUserRemains = 0;
TimeId firstSaleDate = 0;
TimeId lastSaleDate = 0;
bool requirePremium = false;
bool upgradable = false;
bool birthday = false;
bool soldOut = false;