Implement star gift view box.

This commit is contained in:
John Preston
2024-09-20 12:03:44 +04:00
parent 18904412cd
commit efbd3ca8fa
16 changed files with 279 additions and 49 deletions
+1
View File
@@ -612,6 +612,7 @@ auto PremiumGiftCodeOptions::requestStarGifts()
gifts.push_back(StarGift{
.id = uint64(data.vid().v),
.stars = int64(data.vstars().v),
.convertStars = int64(data.vconvert_stars().v),
.document = document,
.limitedLeft = remaining.value_or_empty(),
.limitedCount = total.value_or_empty(),