mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Added API support for prepaid giveaways.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user