2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Added API support for prepaid giveaways.

This commit is contained in:
23rd
2023-11-08 14:54:45 +03:00
parent 43aa8825a5
commit 3522d9c62e
6 changed files with 95 additions and 35 deletions

View File

@@ -50,10 +50,18 @@ struct BoostsListSlice final {
OffsetToken token;
};
struct BoostPrepaidGiveaway final {
int months = 0;
uint64 id = 0;
int quantity = 0;
QDateTime date;
};
struct BoostStatus final {
BoostsOverview overview;
BoostsListSlice firstSliceBoosts;
BoostsListSlice firstSliceGifts;
std::vector<BoostPrepaidGiveaway> prepaidGiveaway;
QString link;
};